fix(fs.shared): Bug in swipehandlers spreaded props
This commit is contained in:
parent
fde0cb10fc
commit
e57d6244a6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue