Working on some bugs.

This commit is contained in:
charlesgauthereau
2025-07-27 21:26:31 +02:00
parent f9dc15ba73
commit 85047e7509
107 changed files with 971 additions and 2203 deletions
+1 -1
View File
@@ -18,9 +18,9 @@ import {createRestorationAction, deleteBackupAction} from "@/features/dashboard/
import {toast} from "sonner";
import {useRouter} from "next/navigation";
import {StatusBadge} from "@/components/wrappers/common/status-badge";
import {TooltipCustom} from "@/components/wrappers/common/tooltipCustom/TooltipCustom";
import {Backup} from "@/db/schema/06_database";
import {formatFrenchDate} from "@/utils/date-formatting";
import {TooltipCustom} from "@/components/wrappers/common/tooltip-custom";
export function backupColumns(isAlreadyRestore: boolean): ColumnDef<Backup>[] {
+1 -1
View File
@@ -23,7 +23,7 @@ import {
} from "@/features/dashboard/restore/restore.action";
import {toast} from "sonner";
import {useRouter} from "next/navigation";
import {TooltipCustom} from "@/components/wrappers/common/tooltipCustom/TooltipCustom";
import {TooltipCustom} from "@/components/wrappers/common/tooltip-custom";
export function restoreColumns(isAlreadyRestore: boolean): ColumnDef<Restoration>[] {
+1 -1
View File
@@ -2,8 +2,8 @@ import { notFound } from "next/navigation";
import { SidebarTrigger } from "@/components/ui/sidebar";
import { ModeToggle } from "@/features/theme/ModeToggle";
import { LoggedInButton } from "@/components/wrappers/dashboard/loggedInButton/LoggedInButton";
import { currentUser } from "@/lib/auth/current-user";
import {LoggedInButton} from "@/components/wrappers/dashboard/common/logged-in/logged-in-button";
export const Header = async () => {
const user = await currentUser();
+1
View File
@@ -2,6 +2,7 @@
import * as React from "react"
import { ThemeProvider as NextThemesProvider } from "next-themes"
//@ts-ignore
import { type ThemeProviderProps } from "next-themes/dist/types"
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {