Skip to content

Commit

Permalink
Merge pull request #18 from RedEchidnaUK/main
Browse files Browse the repository at this point in the history
Pull Mantine UI theme from context
  • Loading branch information
SchrodingersGat authored Mar 4, 2025
2 parents 2f82872 + af1c362 commit d51d2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/OrderHistoryPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function OrderHistoryPanel({context}: {context: any}) {
export function renderPanel(target: HTMLElement, context: any) {

createRoot(target).render(
<MantineProvider>
<MantineProvider theme={context.theme} defaultColorScheme={context.colorScheme}>
<OrderHistoryPanel context={context}/>
</MantineProvider>
)
Expand Down

0 comments on commit d51d2a9

Please sign in to comment.