fix viewer wb crash switching to rtl
This commit is contained in:
parent
db41932fe7
commit
9234dee077
@ -469,7 +469,7 @@ export default function Whiteboard(props) {
|
|||||||
|
|
||||||
const readOnlyWB = (
|
const readOnlyWB = (
|
||||||
<Tldraw
|
<Tldraw
|
||||||
key={`wb-readOnly-${document?.documentElement?.dir}`}
|
key={`wb-readOnly`}
|
||||||
document={doc}
|
document={doc}
|
||||||
onMount={onMount}
|
onMount={onMount}
|
||||||
// disable the ability to drag and drop files onto the whiteboard
|
// disable the ability to drag and drop files onto the whiteboard
|
||||||
|
Loading…
Reference in New Issue
Block a user