style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125 insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc (singleQuote:true, semi:true, tabWidth:2, trailingComma:all, printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
+13
-13
@@ -4,17 +4,17 @@
|
||||
// 2. Schedule-X theme-default CSS must be imported BEFORE tokens.css so that
|
||||
// the project's --sx-color-* overrides in tokens.css win the cascade.
|
||||
// 3. styles/index.css imports tokens.css which carries the --sx-color-* overrides.
|
||||
import 'temporal-polyfill/global'
|
||||
import '@schedule-x/theme-default/dist/index.css'
|
||||
import './styles/index.css'
|
||||
import 'temporal-polyfill/global';
|
||||
import '@schedule-x/theme-default/dist/index.css';
|
||||
import './styles/index.css';
|
||||
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import { QueryClient, QueryClientProvider, QueryCache, MutationCache } from '@tanstack/react-query'
|
||||
import App from './App.js'
|
||||
import { ErrorBoundary } from './components/ErrorBoundary.js'
|
||||
import { SessionExpiredError } from './api/client.js'
|
||||
import { useCalendarStore } from './store/calendarStore.js'
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import { QueryClient, QueryClientProvider, QueryCache, MutationCache } from '@tanstack/react-query';
|
||||
import App from './App.js';
|
||||
import { ErrorBoundary } from './components/ErrorBoundary.js';
|
||||
import { SessionExpiredError } from './api/client.js';
|
||||
import { useCalendarStore } from './store/calendarStore.js';
|
||||
|
||||
/**
|
||||
* Global session-expiry error handler (D-11, Plan 06-05).
|
||||
@@ -36,7 +36,7 @@ function onGlobalError(error: unknown): void {
|
||||
error instanceof SessionExpiredError ||
|
||||
(error as { name?: string } | null)?.name === 'SessionExpiredError'
|
||||
) {
|
||||
useCalendarStore.getState().setSessionExpired(true)
|
||||
useCalendarStore.getState().setSessionExpired(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ const queryClient = new QueryClient({
|
||||
staleTime: 30_000,
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
<React.StrictMode>
|
||||
@@ -59,4 +59,4 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
</ErrorBoundary>
|
||||
</QueryClientProvider>
|
||||
</React.StrictMode>,
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user