Fix lint/format/typecheck
This commit is contained in:
parent
6593851325
commit
6ee3898a1a
4 changed files with 6 additions and 8 deletions
|
|
@ -2,16 +2,15 @@ import { SessionProvider } from "@xtablo/shared/contexts/SessionContext";
|
|||
import { ThemeProvider } from "@xtablo/shared/contexts/ThemeContext";
|
||||
import { Toaster } from "@xtablo/ui/components/sonner";
|
||||
import { BrowserRouter as Router, useRoutes } from "react-router-dom";
|
||||
import { useCookieConsent } from "./hooks/useCookieConsent";
|
||||
import { CookieBanner } from "./components/CookieBanner";
|
||||
import { useCookieConsent } from "./hooks/useCookieConsent";
|
||||
import { useDatadogRumViewName } from "./hooks/useDatadogRumViewName";
|
||||
import { publicRoutes } from "./lib/publicRoutes";
|
||||
import { routes } from "./lib/routes";
|
||||
import { supabase } from "./lib/supabase";
|
||||
import { NotFoundPage } from "./pages/NotFoundPage";
|
||||
import { UserStoreProvider } from "./providers/UserStoreProvider";
|
||||
|
||||
import { useDatadogRumViewName } from "./hooks/useDatadogRumViewName";
|
||||
|
||||
const Routes = () => {
|
||||
useDatadogRumViewName();
|
||||
const publicElement = useRoutes(publicRoutes);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Button } from "@xtablo/ui/components/button";
|
||||
import { Card } from "@xtablo/ui/components/card";
|
||||
import { Label } from "@xtablo/ui/components/label";
|
||||
import { Switch } from "@xtablo/ui/components/switch";
|
||||
import { X } from "lucide-react";
|
||||
import { Label } from "@xtablo/ui/components/label";
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export interface CookiePreferences {
|
||||
essential: boolean;
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ import { CameraIcon, CookieIcon, Loader2Icon, Trash2Icon, UploadIcon } from "luc
|
|||
import { useRef, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { LanguageSelector } from "../components/LanguageSelector";
|
||||
import { useCookieConsent } from "../hooks/useCookieConsent";
|
||||
import { useIntroduction } from "../hooks/intros";
|
||||
import { useRemoveAvatar, useUpdateProfile, useUploadAvatar } from "../hooks/profile";
|
||||
import { useCookieConsent } from "../hooks/useCookieConsent";
|
||||
import { useUser } from "../providers/UserStoreProvider";
|
||||
|
||||
export default function SettingsPage() {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ export * from "./card";
|
|||
export * from "./checkbox";
|
||||
export * from "./clipboard";
|
||||
export * from "./collapsible";
|
||||
export * from "./cookie-banner";
|
||||
export * from "./date-field";
|
||||
export * from "./date-picker";
|
||||
export * from "./dialog";
|
||||
|
|
|
|||
Loading…
Reference in a new issue