Skip to content

Commit

Permalink
chore: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Mar 12, 2024
1 parent b97d933 commit 91b4bd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/pages/WikiWebView/useStreamChunksToWebView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export function useStreamChunksToWebView(webViewReference: MutableRefObject<WebV
const [streamChunksToWebViewPercentage, setStreamChunksToWebViewPercentage] = useState(0);
const sendDataToWebView = useCallback((messageType: OnStreamChunksToWebViewEventTypes, data?: string) => {
console.log(`sendDataToWebView ${messageType}`);
// DEBUG: console webViewReference.current
console.log(`webViewReference.current`, webViewReference.current);
if (webViewReference.current === null) return;
const stringifiedData = JSON.stringify({
type: messageType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export enum OnStreamChunksToWebViewEventTypes {
TIDDLYWIKI_HTML = 'TIDDLYWIKI_HTML',
}


/**
* Run `pnpm build:preload` to build this file.
*/
Expand Down

0 comments on commit 91b4bd2

Please sign in to comment.