message: Wrapped ReferoContainer in Provider
diff: @@ -6,12 +6,18 @@ import { TreeContext } from '../../store/treeStore/treeStore';
  import { generateQuestionnaireForPreview } from '../../helpers/generateQuestionnaire';
  import { getLanguagesInUse, INITIAL_LANGUAGE } from '../../helpers/LanguageHelper';
  import { ReferoContainer } from '@helsenorge/refero/components';
  +import { Store, createStore, applyMiddleware } from 'redux';
  +import { Provider } from 'react-redux';
  +import thunk from 'redux-thunk';
  +import rootReducer from '@helsenorge/refero/reducers';
  type Props = {
  showFormFiller: () => void;
  language?: string;
  };
  +const store: Store<{}> = createStore(rootReducer, applyMiddleware(thunk));
  +
  const ReferoFiller = ({ showFormFiller, language }: Props): JSX.Element => {
  const { t } = useTranslation();
  const { state } = useContext(TreeContext);
  @@ -24,6 +30,7 @@ const ReferoFiller = ({ showFormFiller, language }: Props): JSX.Element => {
  const languages = getLanguagesInUse(state);
  return (
  + <Provider store={store}>
  <ReferoContainer
  questionnaire={generateQuestionnaireForPreview(state, selectedLanguage, selectedGender, selectedAge)}
  onCancel={showFormFiller}
  @@ -32,6 +39,7 @@ const ReferoFiller = ({ showFormFiller, language }: Props): JSX.Element => {
  loginButton={<button>{'hei'}</button>}
  authorized={false}
  />
  + </Provider>
  );
  };
  