sub-Graph #1772
Answered
by
alymurtazamemon
NagoriMustakim
asked this question in
Q&A
sub-Graph
#1772
-
I am stuck is anyone here to help me const [showModal, setShowModal] = useState(false)
31 | const hideModal = () => setShowModal(false)
> 32 | const dispatch = useNotification()
| ^ I have already imported this import { Card, useNotification } from "web3uikit" here is my Github repo please solve it guys |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Aug 14, 2022
Replies: 1 comment 2 replies
-
Change this <Header></Header>
<Component {...pageProps} /> to this: Inside pages => _app.js <NotificationProvider>
<Header />
<Component {...pageProps} />
</NotificationProvider> And make sure this is imported there: import { NotificationProvider } from "web3uikit" |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NagoriMustakim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@NagoriMustakim
Change this
to this: Inside pages => _app.js
And make sure this is imported there: