refactor: Move Tooltip and DarkModeToggle to shared/view/ui

This commit is contained in:
Haileyesus
2026-02-27 22:37:38 +03:00
parent 0dff9cf39d
commit 224dab7745
9 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { Moon, Sun } from 'lucide-react';
import { useTheme } from '../../../contexts/ThemeContext';
import { useTheme } from '../../../../contexts/ThemeContext';
type DarkModeToggleProps = {
checked?: boolean;

View File

@@ -1,5 +1,5 @@
import { type ReactNode, useEffect, useRef, useState } from 'react';
import { cn } from '../../../lib/utils';
import { cn } from '../../../../lib/utils';
type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';