refactor(miniapp): add rewrite foundation and demo fixtures

This commit is contained in:
2026-03-11 18:41:36 +04:00
parent d40f5e1d84
commit b193f8ddce
19 changed files with 1073 additions and 490 deletions

View File

@@ -1,6 +1,8 @@
/* @refresh reload */
import { QueryClientProvider } from '@tanstack/solid-query'
import { render } from 'solid-js/web'
import { miniAppQueryClient } from './app/query-client'
import './index.css'
import App from './App'
@@ -10,4 +12,11 @@ if (!root) {
throw new Error('Root element not found')
}
render(() => <App />, root)
render(
() => (
<QueryClientProvider client={miniAppQueryClient}>
<App />
</QueryClientProvider>
),
root
)