Skip to content

Commit 437b3b0

Browse files
committed
feat(frontend): add auth context
1 parent 84c2d09 commit 437b3b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/parts/frontend/context.cljs

+6
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22
(:require [uix.core]))
33

44
(def update-node-context (uix.core/create-context nil))
5+
6+
(def auth-context (uix.core/create-context
7+
{:logged-in false
8+
:email nil
9+
:login nil
10+
:logout nil}))

0 commit comments

Comments
 (0)