Skip to content
Snippets Groups Projects

Resolve "Use duplicate api"

Merged Albin Henriksson requested to merge 113-use-duplicate-api into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -134,7 +134,7 @@ const PresentationEditorPage: React.FC = () => {
}
const renderSlideIcon = (slide: RichSlide) => {
switch (slide.questions[0].type_id) {
switch (slide.questions && slide.questions[0].type_id) {
case 0:
return <InfoOutlinedIcon></InfoOutlinedIcon> // information slide
case 1:
Loading