fix(dashboard): Minor cleanup and improve text legibility (#7045)

**What**
- Cleans up some artifacts from the V1 -> V2 migrations.
- Removes the MedusaProvider from the root in favor of a plain QueryClient.
- Applies font styles to make the text in admin resemble designs in Figma more closely.
This commit is contained in:
Kasper Fabricius Kristensen
2024-04-11 08:44:13 +00:00
committed by GitHub
parent 27387b7cf1
commit 51acd1da5b
17 changed files with 96 additions and 320 deletions
+4 -10
View File
@@ -1,24 +1,18 @@
import { Toaster } from "@medusajs/ui"
import { MedusaProvider } from "medusa-react"
import { QueryClientProvider } from "@tanstack/react-query"
import { queryClient } from "./lib/medusa"
import { RouterProvider } from "./providers/router-provider"
import { ThemeProvider } from "./providers/theme-provider"
import { MEDUSA_BACKEND_URL, queryClient } from "./lib/medusa"
function App() {
return (
<MedusaProvider
baseUrl={MEDUSA_BACKEND_URL}
queryClientProviderProps={{
client: queryClient,
}}
>
<QueryClientProvider client={queryClient}>
<ThemeProvider>
<RouterProvider />
<Toaster />
</ThemeProvider>
</MedusaProvider>
</QueryClientProvider>
)
}