Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- import { remoteConfig } from '../lib/firebase';
- const Index = () => {
- ...
- if (process.browser) {
- remoteConfig
- .fetchAndActivate()
- .then(() => {
- console.log(remoteConfig.getAll());
- })
- .catch((err) => {
- console.error(err);
- });
- }
- ...
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement