Skip to content

Commit

Permalink
frontend lints
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jul 27, 2024
1 parent 8c54143 commit 6722afd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ const App = () => {
<Route path="/listings/add" element={<NewListing />} />
<Route path="/listings/:page" element={<Listings />} />
<Route path="/listing/:id" element={<ListingDetails />} />
<Route path="/listing/edit/:id" element={<EditListingForm />} />
<Route
path="/listing/edit/:id"
element={<EditListingForm />}
/>
<Route path="/listings/me/:page" element={<MyListings />} />
<Route path="/404" element={<NotFound />} />
<Route path="*" element={<NotFoundRedirect />} />
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import TCButton from "components/files/TCButton";
import { useAuthentication } from "hooks/auth";
import { useTheme } from "hooks/theme";
import React from "react";
import { Card, Col, Row } from "react-bootstrap";
import { useNavigate } from "react-router-dom";

const Home: React.FC = () => {
const { theme } = useTheme();
const navigate = useNavigate();
const { isAuthenticated } = useAuthentication();

Expand Down

0 comments on commit 6722afd

Please sign in to comment.