From d94d8fc9b32a079d5f9319ae4b3fbee251e7ad2b Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 9 Feb 2024 11:17:11 +0100 Subject: [PATCH] fix(ui): autoplay session ids are parsed to int --- .../app/components/Session_/Player/Overlay/AutoplayTimer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Player/Overlay/AutoplayTimer.tsx b/frontend/app/components/Session_/Player/Overlay/AutoplayTimer.tsx index 793d84601..144d28208 100644 --- a/frontend/app/components/Session_/Player/Overlay/AutoplayTimer.tsx +++ b/frontend/app/components/Session_/Player/Overlay/AutoplayTimer.tsx @@ -71,6 +71,6 @@ function AutoplayTimer({ nextId, siteId, history }: IProps) { export default withRouter( connect((state: any) => ({ siteId: state.getIn(['site', 'siteId']), - nextId: parseInt(state.getIn(['sessions', 'nextId'])), + nextId: state.getIn(['sessions', 'nextId']), }))(AutoplayTimer) );