diff --git a/README.md b/README.md index 195e5c4..27a4aa1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # React App + Firebase Auth & Realtime Database +:bangbang: **This project is under development, so it is not yet fully finalized.** + This project built with [Create React App](https://github.com/facebook/create-react-app) allows you to add / modify / delete character sheets for novels. This application uses Firebase for authentication and database. ## :fire: Prerequisite (Environment variables) diff --git a/src/App.tsx b/src/App.tsx index 487fd7e..2d698a1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,7 +11,7 @@ import { firebaseConfig } from './config/config'; import SignIn from './components/login/SignIn'; import Dashboard from './components/Dashboard'; -import WithSplashScreen from './components/splash-screen/WithSplashScreen'; +import withSplashScreen from './components/splash-screen/withSplashScreen'; const App = () => { const signInWithGoogle = React.useCallback(async () => { @@ -45,4 +45,4 @@ const App = () => { ); }; -export default WithSplashScreen(App); +export default withSplashScreen(App); diff --git a/src/components/splash-screen/WithSplashScreen.tsx b/src/components/splash-screen/withSplashScreen.tsx similarity index 91% rename from src/components/splash-screen/WithSplashScreen.tsx rename to src/components/splash-screen/withSplashScreen.tsx index 67e4229..dc719e7 100644 --- a/src/components/splash-screen/WithSplashScreen.tsx +++ b/src/components/splash-screen/withSplashScreen.tsx @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import Launch from '../layout/Launch'; -const WithSplashScreen =
( +const withSplashScreen =
( WrappedComponent: React.ComponentType
) => { return class extends Component
{ @@ -37,4 +37,4 @@ const WithSplashScreen =
( }; } -export default WithSplashScreen; +export default withSplashScreen;