Skip to content

Commit

Permalink
error fix, error page is working
Browse files Browse the repository at this point in the history
  • Loading branch information
giahp committed Oct 1, 2024
1 parent 9502b72 commit c8cf16f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import SignUpForm from "./pages/auth/SignUpForm";
import SignInForm from "./pages/auth/SignInForm";
import PostCreateForm from "./pages/posts/PostCreateForm";
import PostPage from "./pages/posts/PostPage";
import AboutPage from ".pages/info/AboutPage";
import AboutPage from "./pages/info/AboutPage";
import PostsPage from "./pages/posts/PostsPage";
import { useCurrentUser } from "./contexts/CurrentUserContext";
import PostEditForm from "./pages/posts/PostEditForm";
Expand Down
17 changes: 10 additions & 7 deletions src/pages/info/AboutPage.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import React from "react";
import AboutPage from "./AboutPage";

function App() {
import Card from "react-bootstrap/Card";

const AboutPage = () => {
return (
<div className="App">
<AboutPage />
</div>
<Card>
<Card.Body>
<h1>About Page</h1>
</Card.Body>
</Card>
);
}
};

export default App;
export default AboutPage;

0 comments on commit c8cf16f

Please sign in to comment.