Skip to content

Commit

Permalink
FIX #33 from #32
Browse files Browse the repository at this point in the history
close #33

Co-Authored-By: ruru <[email protected]>
  • Loading branch information
ruru-m07 and ruru-m07 committed Feb 21, 2024
1 parent e02afb7 commit 5250c6f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,12 @@ import {
} from "@/components/ui/select";
import { useAuth } from "@/context/userContext";
import { cn } from "@/lib/utils";
import { withAuth } from "@/protectedRouter";
import Image from "next/image";
import Link from "next/link";
import React from "react";
interface AccountSwitcherProps {
isCollapsed: boolean;
accounts: {
label: string;
// label: string;
icon: React.ReactNode;
}[];
}

export default function Page() {
const Page = () => {
const { user } = useAuth();

const accounts = [
Expand Down Expand Up @@ -174,4 +167,6 @@ export default function Page() {
<ScrollArea className="w-[550px] border-r p-4 h-[93vh]"></ScrollArea>
</main>
);
}
};

export default withAuth(Page);

0 comments on commit 5250c6f

Please sign in to comment.