File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
app/(org)/dashboard/_components/Navbar Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22
3- import { ThemeToggleIcon } from "@/components/theme-toggle-icon" ;
43import { LogoBadge } from "@cap/ui" ;
54import { useClickAway } from "@uidotdev/usehooks" ;
65import { AnimatePresence , motion } from "framer-motion" ;
76import { X } from "lucide-react" ;
87import Link from "next/link" ;
98import { type MutableRefObject , useState } from "react" ;
9+
10+ import { ThemeToggleIcon } from "@/components/theme-toggle-icon" ;
1011import { useTheme } from "../../Contexts" ;
1112import NavItems from "./Items" ;
1213
Original file line number Diff line number Diff line change 11"use client" ;
22
3- import { markAsRead } from "@/actions/notifications/mark-as-read" ;
4- import Notifications from "@/app/(org)/dashboard/_components/Notifications" ;
5- import { SignedImageUrl } from "@/components/SignedImageUrl" ;
6- import { ThemeToggleIcon } from "@/components/theme-toggle-icon" ;
7- import { UpgradeModal } from "@/components/UpgradeModal" ;
83import { buildEnv } from "@cap/env" ;
94import {
105 Command ,
@@ -21,18 +16,23 @@ import { useClickAway } from "@uidotdev/usehooks";
2116import clsx from "clsx" ;
2217import { AnimatePresence } from "framer-motion" ;
2318import { MoreVertical } from "lucide-react" ;
24- import { signOut } from "next-auth/react" ;
2519import Link from "next/link" ;
2620import { usePathname } from "next/navigation" ;
21+ import { signOut } from "next-auth/react" ;
2722import {
2823 cloneElement ,
29- memo ,
3024 type MutableRefObject ,
25+ memo ,
3126 type RefObject ,
3227 useMemo ,
3328 useRef ,
3429 useState ,
3530} from "react" ;
31+ import { markAsRead } from "@/actions/notifications/mark-as-read" ;
32+ import Notifications from "@/app/(org)/dashboard/_components/Notifications" ;
33+ import { SignedImageUrl } from "@/components/SignedImageUrl" ;
34+ import { ThemeToggleIcon } from "@/components/theme-toggle-icon" ;
35+ import { UpgradeModal } from "@/components/UpgradeModal" ;
3636import { useDashboardContext , useTheme } from "../../Contexts" ;
3737import {
3838 ArrowUpIcon ,
Original file line number Diff line number Diff line change 11"use client" ;
2- import { useTheme } from "@/app/(org)/dashboard/Contexts" ;
32import { Moon , Sun } from "lucide-react" ;
3+ import { useTheme } from "@/app/(org)/dashboard/Contexts" ;
44
55export const ThemeToggleIcon = ( ) => {
66 const { theme } = useTheme ( ) ;
You can’t perform that action at this time.
0 commit comments