File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ import { useCreateBlueprintStore } from '../create/[id]/store';
10
10
11
11
const ConnectEmails = ( ) => {
12
12
const { setFile, setStep } = useProofStore ( ) ;
13
- const store = useCreateBlueprintStore ( ) ;
14
- console . log ( store )
13
+ const blueprint = useProofStore ( ( state ) => state . blueprint ) ;
15
14
16
15
const { googleLogIn } = useGoogleAuth ( ) ;
17
16
@@ -31,13 +30,13 @@ const ConnectEmails = () => {
31
30
< span className = "font-bold text-grey-900" > Email Query: </ span >
32
31
< span className = "inline-flex items-center gap-2" >
33
32
< code >
34
- { store ?. emailQuery }
33
+ { blueprint ?. props ?. emailQuery }
35
34
</ code >
36
35
< Button
37
36
variant = "outline"
38
37
size = "smIcon"
39
38
onClick = { ( ) => {
40
- navigator . clipboard . writeText ( store ?. emailQuery || '' ) ;
39
+ navigator . clipboard . writeText ( blueprint ?. props ?. emailQuery || '' ) ;
41
40
toast . success ( 'Copied to clipboard!' ) ;
42
41
} }
43
42
>
You can’t perform that action at this time.
0 commit comments