mirror of
https://github.com/reiyua/RayRaysWordBingo.git
synced 2026-11-17 06:22:06 +11:00
Move import's to top as part of proper declaring
This commit is contained in:
parent
098ee40a2c
commit
62d3224651
1 changed files with 7 additions and 5 deletions
12
src/App.js
12
src/App.js
|
|
@ -12,11 +12,6 @@ import {
|
|||
addDoc
|
||||
} from "firebase/firestore";
|
||||
|
||||
if (!getApps().length) {
|
||||
initializeApp(firebaseConfig);
|
||||
}
|
||||
|
||||
|
||||
// Import required compenets from Bootstrap and React-Boostrap
|
||||
import Form from 'react-bootstrap/Form';
|
||||
import Button from 'react-bootstrap/Button';
|
||||
|
|
@ -28,6 +23,13 @@ import './App.css'
|
|||
|
||||
import { FSContext } from ".//contexts/FSContext.js"
|
||||
|
||||
if (!getApps().length) {
|
||||
initializeApp(firebaseConfig);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// declare variables
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue