fix(dashboard): avoid node-only ui imports in browser

This commit is contained in:
vincez-hms-coder 2026-04-27 08:56:52 -04:00
parent 58c07867e3
commit 1745cfc6d7
11 changed files with 103 additions and 38 deletions

View file

@ -1,6 +1,8 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { Palette, Check } from "lucide-react";
import { Button, ListItem, Typography } from "@nous-research/ui";
import { Button } from "@nous-research/ui/ui/components/button";
import { ListItem } from "@nous-research/ui/ui/components/list-item";
import { Typography } from "@/components/NouiTypography";
import { BUILTIN_THEMES, useTheme } from "@/themes";
import { useI18n } from "@/i18n";
import { cn } from "@/lib/utils";