From 13898f871dec5dc6b67ecffc12a06c47ed41e231 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Thu, 8 Sep 2022 14:56:24 +0100 Subject: [PATCH] Fix postinstall --- apps/www/hooks/useReadOnlyMultiplayerState.ts | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/www/hooks/useReadOnlyMultiplayerState.ts b/apps/www/hooks/useReadOnlyMultiplayerState.ts index 8e72ac401..6d84d530d 100644 --- a/apps/www/hooks/useReadOnlyMultiplayerState.ts +++ b/apps/www/hooks/useReadOnlyMultiplayerState.ts @@ -1,7 +1,6 @@ import { LiveMap } from '@liveblocks/client' -import type { TDAsset, TDBinding, TDShape, TDUser, TldrawApp } from '@tldraw/tldraw' +import type { TDUser, TldrawApp } from '@tldraw/tldraw' import React, { useCallback, useRef, useState } from 'react' -import { useHotkeys } from 'react-hotkeys-hook' import { Storage, useRedo, useRoom, useUndo, useUpdateMyPresence } from '~utils/liveblocks' declare const window: Window & { app: TldrawApp } diff --git a/package.json b/package.json index 8e3f9a1bb..77370f3e4 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "format": "prettier --write .", "lint": "turbo run lint --parallel", "clean": "turbo run clean", - "postinstall": "husky install & yarn build", + "postinstall": "husky install", "pre-commit": "lint-staged", "pre-push": "yarn test" },