⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fixed build error
daniel31x134482c52fa96a
diff --git a/pages/choose-username.tsx b/pages/choose-username.tsxindex c4f2f9ee..75d6aa01 100644--- a/pages/choose-username.tsx+++ b/pages/choose-username.tsx@@ -1,15 +1,13 @@import SubmitButton from "@/components/SubmitButton";import { signOut } from "next-auth/react";-import Image from "next/image";-import { useEffect, useState } from "react";+import { useState } from "react";import { toast } from "react-hot-toast";import { useSession } from "next-auth/react";-import { useRouter } from "next/router";import useAccountStore from "@/store/account";import CenteredForm from "@/layouts/CenteredForm";import TextInput from "@/components/TextInput";-export default function Subscribe() {+export default function ChooseUsername() {const [submitLoader, setSubmitLoader] = useState(false);const [inputedUsername, setInputedUsername] = useState("");diff --git a/pages/forgot.tsx b/pages/forgot.tsxindex 25389ada..eb60eb7f 100644--- a/pages/forgot.tsx+++ b/pages/forgot.tsx@@ -2,7 +2,6 @@ import SubmitButton from "@/components/SubmitButton";import TextInput from "@/components/TextInput";import CenteredForm from "@/layouts/CenteredForm";import { signIn } from "next-auth/react";-import Image from "next/image";import Link from "next/link";import { useState } from "react";import { toast } from "react-hot-toast";diff --git a/pages/login.tsx b/pages/login.tsxindex f06d3b4b..f6968ccf 100644--- a/pages/login.tsx+++ b/pages/login.tsx@@ -2,7 +2,6 @@ import SubmitButton from "@/components/SubmitButton";import TextInput from "@/components/TextInput";import CenteredForm from "@/layouts/CenteredForm";import { signIn } from "next-auth/react";-import Image from "next/image";import Link from "next/link";import { useState } from "react";import { toast } from "react-hot-toast";diff --git a/pages/settings/account.tsx b/pages/settings/account.tsxindex 6108aeb6..783c6f9c 100644--- a/pages/settings/account.tsx+++ b/pages/settings/account.tsx@@ -16,7 +16,7 @@ import Link from "next/link";import ClickAwayHandler from "@/components/ClickAwayHandler";import Checkbox from "@/components/Checkbox";-export default function account() {+export default function Account() {const { update, data } = useSession();const emailEnabled = process.env.NEXT_PUBLIC_EMAIL_PROVIDER;diff --git a/pages/settings/appearance.tsx b/pages/settings/appearance.tsxindex 95300f28..4f333bcd 100644--- a/pages/settings/appearance.tsx+++ b/pages/settings/appearance.tsx@@ -3,7 +3,7 @@ import { useTheme } from "next-themes";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { faSun, faMoon } from "@fortawesome/free-solid-svg-icons";-export default function appearance() {+export default function Appearance() {const { theme, setTheme } = useTheme();return (diff --git a/pages/settings/archive.tsx b/pages/settings/archive.tsxindex fc607727..db1c6f13 100644--- a/pages/settings/archive.tsx+++ b/pages/settings/archive.tsx@@ -6,7 +6,7 @@ import useAccountStore from "@/store/account";import { toast } from "react-hot-toast";import { AccountSettings } from "@/types/global";-export default function archive() {+export default function Archive() {const [submitLoader, setSubmitLoader] = useState(false);const { account, updateAccount } = useAccountStore();const [user, setUser] = useState<AccountSettings>(account);diff --git a/pages/settings/billing.tsx b/pages/settings/billing.tsxindex c2094c0a..185f2a76 100644--- a/pages/settings/billing.tsx+++ b/pages/settings/billing.tsx@@ -2,7 +2,7 @@ import SettingsLayout from "@/layouts/SettingsLayout";import { useRouter } from "next/router";import { useEffect } from "react";-export default function billing() {+export default function Billing() {const router = useRouter();useEffect(() => {diff --git a/pages/settings/password.tsx b/pages/settings/password.tsxindex d17d23fc..b68228c9 100644--- a/pages/settings/password.tsx+++ b/pages/settings/password.tsx@@ -6,7 +6,7 @@ import SubmitButton from "@/components/SubmitButton";import { toast } from "react-hot-toast";import TextInput from "@/components/TextInput";-export default function password() {+export default function Password() {const [newPassword, setNewPassword1] = useState("");const [newPassword2, setNewPassword2] = useState("");diff --git a/pages/subscribe.tsx b/pages/subscribe.tsxindex a3c1279a..b8b478a3 100644--- a/pages/subscribe.tsx+++ b/pages/subscribe.tsx@@ -1,6 +1,6 @@import SubmitButton from "@/components/SubmitButton";import { signOut } from "next-auth/react";-import { useEffect, useState } from "react";+import { useState } from "react";import { toast } from "react-hot-toast";import { useSession } from "next-auth/react";import { useRouter } from "next/router";