Download apps/kimi-inspect/src/main.tsx from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/apps/kimi-inspect/src/main.tsx
- Command line
-
hf download hf://SaylorTwift/kimi-code/apps/kimi-inspect/src/main.tsx
-
curl -L -o main.tsx https://huggingface.co/SaylorTwift/kimi-code/resolve/main/apps/kimi-inspect/src/main.tsx
632 Bytes
| import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; | |
| import { StrictMode } from 'react'; | |
| import { createRoot } from 'react-dom/client'; | |
| import { App } from './App'; | |
| import { ConnectionProvider } from './connection'; | |
| import './index.css'; | |
| const queryClient = new QueryClient({ | |
| defaultOptions: { | |
| queries: { retry: 1, staleTime: 0, refetchOnWindowFocus: false }, | |
| }, | |
| }); | |
| createRoot(document.querySelector('#root')!).render( | |
| <StrictMode> | |
| <QueryClientProvider client={queryClient}> | |
| <ConnectionProvider> | |
| <App /> | |
| </ConnectionProvider> | |
| </QueryClientProvider> | |
| </StrictMode>, | |
| ); | |