You've already forked Nano-Banana-AI-Image-Editor
初始化提交
This commit is contained in:
@@ -11,7 +11,7 @@ import { useAppStore } from './store/useAppStore';
|
||||
const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
staleTime: 5 * 60 * 1000, // 5 minutes
|
||||
staleTime: 5 * 60 * 1000, // 5分钟
|
||||
retry: 2,
|
||||
},
|
||||
},
|
||||
@@ -22,7 +22,7 @@ function AppContent() {
|
||||
|
||||
const { showPromptPanel, setShowPromptPanel, showHistory, setShowHistory } = useAppStore();
|
||||
|
||||
// Set mobile defaults on mount
|
||||
// 在挂载时设置移动设备默认值
|
||||
React.useEffect(() => {
|
||||
const checkMobile = () => {
|
||||
const isMobile = window.innerWidth < 768;
|
||||
@@ -38,7 +38,7 @@ function AppContent() {
|
||||
}, [setShowPromptPanel, setShowHistory]);
|
||||
|
||||
return (
|
||||
<div className="h-screen bg-gray-900 text-gray-100 flex flex-col font-sans">
|
||||
<div className="h-screen bg-white text-gray-900 flex flex-col font-sans">
|
||||
<Header />
|
||||
|
||||
<div className="flex-1 flex overflow-hidden">
|
||||
|
||||
Reference in New Issue
Block a user