Skip to content

Commit

Permalink
draggable mobile view fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saadiqbal-dev committed Apr 16, 2024
1 parent 8546cad commit 2f6566d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,11 @@ function App() {
<BosLoaderBanner />
<FeedPage {...passProps} />
<Core {...passProps} />
{/* <MobileCore {...passProps} /> */}
</Route>
<Route path={"/:path*"}>
<BosLoaderBanner />
<ViewPage {...passProps} />
<Core {...passProps} />
{/* <MobileCore {...passProps} /> */}
</Route>
</Switch>
</Router>
Expand Down
16 changes: 0 additions & 16 deletions src/components/custom/tldraw/Canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,22 +190,6 @@ function TldrawCanvas({
z: zoom,
});
}

// We can also use the sideEffects API to modify a shape before
// its change is committed to the database. This will run for
// all shapes whenever they are updated.
// editor.sideEffects.registerBeforeChangeHandler(
// "shape",
// (record, _prev, source) => {
// if (source !== "user") return record;
// record.meta = {
// ...record.meta,
// updatedBy: editor.user.getId(),
// updatedAt: Date.now(),
// };
// return record;
// }
// );
},
[creatorId]
);
Expand Down

0 comments on commit 2f6566d

Please sign in to comment.