Skip to content

Commit

Permalink
Remove client poll implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpetri1 committed Sep 6, 2024
1 parent fbe9962 commit ca8f733
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ import { notifyShapeNumberExceeded, getCustomEditorAssetUrls, getCustomAssetUrls

import NoopTool from './custom-tools/noop-tool/component';

import { PollShapeUtil } from './custom-shapes/poll/component';

const CAMERA_TYPE = "camera";

// Helper functions
Expand Down Expand Up @@ -179,8 +177,6 @@ const Whiteboard = React.memo(function Whiteboard(props) {
const lastKnownWidth = React.useRef(presentationAreaWidth);

const [shapesVersion, setShapesVersion] = React.useState(0);

const customShapeUtils = [PollShapeUtil];
const customTools = [NoopTool];

const presenterChanged = usePrevious(isPresenter) !== isPresenter;
Expand Down Expand Up @@ -1518,7 +1514,6 @@ const Whiteboard = React.memo(function Whiteboard(props) {
forceMobile={true}
hideUi={hasWBAccessRef.current || isPresenter ? false : true}
onMount={handleTldrawMount}
shapeUtils={customShapeUtils}
tools={customTools}
/>
<Styled.TldrawV2GlobalStyle
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ca8f733

Please sign in to comment.