Skip to content
Snippets Groups Projects
Commit 61632253 authored by Albin Henriksson's avatar Albin Henriksson
Browse files

Fix broken client

parent bfc2099e
No related branches found
No related tags found
No related merge requests found
Pipeline #45303 passed with warnings
...@@ -32,10 +32,6 @@ const SlideDisplay = ({ variant, activeViewTypeId, currentSlideId }: SlideDispla ...@@ -32,10 +32,6 @@ const SlideDisplay = ({ variant, activeViewTypeId, currentSlideId }: SlideDispla
if (variant === 'editor') return state.editor.competition.background_image if (variant === 'editor') return state.editor.competition.background_image
return state.presentation.competition.background_image return state.presentation.competition.background_image
}) })
const totalSlides = useAppSelector((state) => {
if (variant === 'presentation') return state.presentation.competition.slides.length
return state.editor.competition.slides.length
})
const slideBackgroundImage = slide?.background_image const slideBackgroundImage = slide?.background_image
const dispatch = useAppDispatch() const dispatch = useAppDispatch()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment