Skip to content

Commit

Permalink
feat(frontend/componentResolver): correctly resolve speechtext elemen…
Browse files Browse the repository at this point in the history
…ts (#239)
  • Loading branch information
harbassan authored Sep 17, 2024
1 parent 8721063 commit 8c54b4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/features/playScenario/componentResolver.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import SpeechTextComponent from "features/authoring/components/SpeechTextComponent";
import ButtonComponent from "../authoring/components/ButtonComponent";
import FirebaseImageComponent from "../authoring/components/FirebaseImageComponent";
import ImageComponent from "../authoring/components/ImageComponent";
Expand All @@ -24,6 +25,7 @@ export default function componentResolver(component, index, onClick) {
case "RESET_BUTTON":
return <ButtonComponent {...props} />;
case "SPEECHTEXT":
return <SpeechTextComponent {...props} />;
case "TEXT":
return <TextComponent {...props} />;
case "IMAGE":
Expand Down

0 comments on commit 8c54b4a

Please sign in to comment.