1
0
Fork 0

fix(fs.shared): Bug in swipehandlers spreaded props

This commit is contained in:
Joost De Cock 2022-01-25 09:01:41 +01:00
parent fde0cb10fc
commit e57d6244a6

View file

@ -38,9 +38,10 @@ const PageWrapper= props => {
return (
<div
{...swipeHandlers}
ref={swipeHandlers.ref}
onMouseDown={swipeHandlers.onMouseDown}
data-theme={props.app.theme}
key={props.app.theme+Date.now()} // Thiis forces the data-theme update
key={props.app.theme} // Thiis forces the data-theme update
>
{props.noLayout
? props.children