fix viewer wb crash switching to rtl

This commit is contained in:
KDSBrowne 2022-07-20 19:54:23 +00:00
parent db41932fe7
commit 9234dee077

View File

@ -469,7 +469,7 @@ export default function Whiteboard(props) {
const readOnlyWB = (
<Tldraw
key={`wb-readOnly-${document?.documentElement?.dir}`}
key={`wb-readOnly`}
document={doc}
onMount={onMount}
// disable the ability to drag and drop files onto the whiteboard