Skip to content

Commit

Permalink
fix: render bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Jul 7, 2024
1 parent d3cc274 commit be3bf6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eidash-web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { LastUpdated } from "@/components/LastUpdated";
export default function Home() {
const auth = useAuth();
const user = auth.user;
const { saves } = useClientSaves("@me");
const saves = useClientSaves("@me");

const latestSaveTimestamp =
saves.length > 1 ? saves[saves.length - 1].timestamp : null;
Expand Down
2 changes: 1 addition & 1 deletion eidash-web/app/users/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Props = {

export default function UserProfile({ params: { id } }: Props) {
const user = useUser(id);
const { saves } = useClientSaves(id);
const saves = useClientSaves(id);

const latestSaveTimestamp =
saves.length > 1 ? saves[saves.length - 1].timestamp : null;
Expand Down

0 comments on commit be3bf6b

Please sign in to comment.