Skip to content

Commit

Permalink
imports fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandyrzph committed Aug 1, 2022
1 parent 4194bca commit 8087868
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pixelplace/src/App.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import { Routes, Route } from "react-router-dom";
import Home from "./components/Home/Home";
import Posts from "./components/Posts/Posts";
import "react-toastify/dist/ReactToastify.css";

import {
Navbar,
Profile,
Expand All @@ -12,9 +8,12 @@ import {
SignIn,
SignUp,
ProtectedRoute,
Home,
Posts,
} from "./components/index";
import { useUserAuth } from "./context/UserAuthContext";
import { BeatLoader } from "react-spinners";
import "react-toastify/dist/ReactToastify.css";

function App() {
const { isLoading } = useUserAuth();
Expand Down
2 changes: 2 additions & 0 deletions pixelplace/src/components/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { default as Home } from "./Home/Home";
export { default as Posts } from "./Posts/Posts";
export { default as SignUp } from "./Forms/SignUp";
export { default as SignIn } from "./Forms/SignIn";
export { default as PostItem } from "./PostItem/PostItem";
Expand Down

0 comments on commit 8087868

Please sign in to comment.