Skip to content

Commit

Permalink
[Upd #193] Cleaning unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Apr 29, 2024
1 parent 5e12892 commit f2d03c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/stories/Question.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import question from "./assets/question/question.json";
import answerableQuestion from "./assets/question/answerableQuestion.json";
import answerableQuestionExpanded from "./assets/question/answerableQuestionExpanded.json";
import queryString from "query-string";
import IntlContextProvider from "../contexts/IntlContextProvider";

export default {
title: "Components/Question",
Expand Down Expand Up @@ -74,7 +73,6 @@ const Template: ComponentStory<typeof Question> = (
};
const mapComponent = _getComponentMappingFunction();
const getOptions = (id: number) => options[id] || [];
const Intl = jest.genMockFromModule("react-intl"); // <-- This is the change

const intl = {
formatMessage: ({ defaultMessage }) => defaultMessage,
Expand Down

0 comments on commit f2d03c6

Please sign in to comment.