fix(dashboard): Adds routes for handling tax overrides for provinces (#9549)
This commit is contained in:
@@ -1347,6 +1347,20 @@ export const RouteMap: RouteObject[] = [
|
||||
"../../routes/tax-regions/tax-region-tax-rate-edit"
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "overrides/create",
|
||||
lazy: () =>
|
||||
import(
|
||||
"../../routes/tax-regions/tax-region-tax-override-create"
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "overrides/:tax_rate_id/edit",
|
||||
lazy: () =>
|
||||
import(
|
||||
"../../routes/tax-regions/tax-region-tax-override-edit"
|
||||
),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -64,6 +64,8 @@ export const ThemeProvider = ({ children }: PropsWithChildren) => {
|
||||
|
||||
html.classList.remove(value === "light" ? "dark" : "light")
|
||||
html.classList.add(value)
|
||||
// Ensures that native elements respect the theme, e.g. the scrollbar.
|
||||
html.style.colorScheme = value
|
||||
|
||||
/**
|
||||
* Re-enable transitions after the theme has been set,
|
||||
|
||||
Reference in New Issue
Block a user