feat: 修改以来地址

This commit is contained in:
2025-08-10 05:43:15 -07:00
parent 01ac12c171
commit c8bf1d484e
70 changed files with 251 additions and 285 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import {
TooltipProvider,
TooltipTrigger,
} from '@workspace/airo-ui/components/tooltip';
import { useIsMobile } from '@workspace/airo-ui/hooks/use-mobile';
import { useIsMobile } from '@workspace/airo-ui/hooks/use-mobile.tsx';
import { cn } from '@workspace/airo-ui/lib/utils';
const SIDEBAR_COOKIE_NAME = 'sidebar:state';
@@ -53,7 +53,7 @@ function useSidebar() {
const context = React.useContext(SidebarContext);
// Optionally warn in development when using the safe fallback
if (process.env.NODE_ENV !== 'production' && context === SAFE_SIDEBAR_CONTEXT) {
// console.warn('useSidebar is used outside of a SidebarProvider. Falling back to no-op context.');
console.warn('useSidebar is used outside of a SidebarProvider. Falling back to no-op context.');
}
return context;
}