Skip to content

Commit

Permalink
Append theme provider with new overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeltzi committed Aug 8, 2023
1 parent ba6ff50 commit 69e0b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/stores/SurveyThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Survey } from '@interfaces/survey';
import { createTheme, Theme } from '@mui/material';
import { fiFI } from '@mui/material/locale';
import { ThemeProvider } from '@mui/material/styles';
import { buttonOverrides, defaultSurveyTheme } from '@src/themes/survey';
import { buttonOverrides, defaultSurveyTheme, inputOverrides, stepperOverrides } from '@src/themes/survey';
import React, { ReactNode, useContext, useMemo, useReducer } from 'react';

/**
Expand Down Expand Up @@ -61,7 +61,7 @@ export function useSurveyTheme() {
{
...survey.theme?.data,
components: {
...buttonOverrides,
...buttonOverrides, ...inputOverrides, ...stepperOverrides,
},
},
fiFI
Expand Down

0 comments on commit 69e0b47

Please sign in to comment.