Skip to content

Commit

Permalink
Merge pull request #945 from frankemax/944-content-area
Browse files Browse the repository at this point in the history
fix(current-slide): avoid undefined property
  • Loading branch information
frankemax authored Sep 25, 2024
2 parents f0b9432 + 758ed84 commit 83c7b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/content-area/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ContentArea = (props) => {
const navigation = useNavigation();
const { t } = useTranslation();

const currentSlide = currentPageData?.pres_page_curr[0].svgUrl;
const currentSlide = currentPageData?.pres_page_curr[0]?.svgUrl;
const hasScreenshare = screenshareData?.screenshare.length > 0;
const isAndroid = Platform.OS === 'android';

Expand Down

0 comments on commit 83c7b2c

Please sign in to comment.