diff --git a/src/app/r/[slug]/not-found.tsx b/src/app/r/[slug]/not-found.tsx
index cd762e1..df8c471 100644
--- a/src/app/r/[slug]/not-found.tsx
+++ b/src/app/r/[slug]/not-found.tsx
@@ -1,3 +1,5 @@
+import Link from "next/link"
+
export default function NotFound() {
return (
@@ -9,12 +11,12 @@ export default function NotFound() {
The link you're looking for doesn't exist or has expired.
-
Go Home
-
+
)
diff --git a/src/components/dashboard/sidebar-theme-toggle.tsx b/src/components/dashboard/sidebar-theme-toggle.tsx
index 40495ad..e0b3c9f 100644
--- a/src/components/dashboard/sidebar-theme-toggle.tsx
+++ b/src/components/dashboard/sidebar-theme-toggle.tsx
@@ -50,16 +50,6 @@ export function SidebarThemeToggle() {
}
}
- const cycleTheme = () => {
- if (theme === "light") {
- setTheme("dark")
- } else if (theme === "dark") {
- setTheme("system")
- } else {
- setTheme("light")
- }
- }
-
return (
diff --git a/src/components/dashboard/urls-data-table.tsx b/src/components/dashboard/urls-data-table.tsx
index b992300..3054958 100644
--- a/src/components/dashboard/urls-data-table.tsx
+++ b/src/components/dashboard/urls-data-table.tsx
@@ -297,7 +297,7 @@ export function UrlsDataTable({ data }: UrlsDataTableProps) {
}
}
- const tableColumns = React.useMemo(() => [...columns, actionRow], [])
+ const tableColumns = React.useMemo(() => [...columns, actionRow], [actionRow])
const table = useReactTable({
data,