Ahmad
Ahmad

Reputation: 39

firebase appCheck is not a function

I'm trying to integrate firebase appCheck into my react application.

Here is the ERROR code:

enter image description here

And this is my code: enter image description here

How to get rid of this error ?

Thanks in adavnce.

Upvotes: 0

Views: 244

Answers (1)

KamS
KamS

Reputation: 182

For a modular version of Firebase you should import it from

import firebase from 'firebase/compat/app'

Upvotes: 1

Related Questions