fix(ui): autoplay session ids are parsed to int (#1883)

This commit is contained in:
Shekar Siri 2024-02-09 19:03:46 +01:00 committed by GitHub
parent 61c415bffa
commit 7926279342
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
);