Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timia2109 committed Aug 5, 2024
1 parent b66b0c8 commit ea1181a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(userArea)/profile/SelectableTheme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const SelectableTheme: FC<{ theme: string; active: boolean }> = ({
className="theme-controller btn join-item"
aria-label={theme}
checked={active}
onChange={(e) => setThemeAction(theme)}
onChange={() => setThemeAction(theme)}
value={theme}
/>
);
2 changes: 1 addition & 1 deletion src/app/[locale]/(userArea)/profile/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Heading } from "@/components/common/Heading";
import { getScopedI18n } from "@/locales/server";
import { getRoute } from "@/routes";
import Link from "next/link";
import { ReactElement } from "react";
import type { ReactElement } from "react";

export default async function ProfileLayout({
children,
Expand Down
2 changes: 2 additions & 0 deletions src/components/common/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable @next/next/no-img-element */
/* We are using an SVG to show the github stars. Therefor we use the img tag */
import { getScopedI18n } from "@/locales/server";
import { env } from "../../env/client.mjs";

Expand Down

0 comments on commit ea1181a

Please sign in to comment.