Skip to content

Commit

Permalink
runs formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Dec 2, 2024
1 parent 1a2014f commit aad187a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions apps/web/src/app/admin/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ export default async function AdminLayout({ children }: AdminLayoutProps) {
<ClientToast />
<div className="fixed z-20 grid h-16 w-full grid-cols-2 bg-nav px-5">
<div className="flex items-center gap-x-4">
<Link
href={"/"}
className="mr-5 flex items-center gap-x-2"
>
<Link href={"/"} className="mr-5 flex items-center gap-x-2">
<Image
src={c.icon.svg}
alt={c.hackathonName + " Logo"}
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/lib/utils/client/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { redirect } from "next/navigation";
export function getClientTimeZone(vercelIPTimeZone: string | null) {
return vercelIPTimeZone ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
}
export async function clientLogOut(){
"use server";
redirect("/");
};
export async function clientLogOut() {
"use server";
redirect("/");
}

0 comments on commit aad187a

Please sign in to comment.