Skip to content

Commit

Permalink
bump use-debounce to fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 committed Nov 20, 2023
1 parent 6c41826 commit 2368d8e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"scope-eval": "^1.0.0",
"sucrase": "^3.34.0",
"typescript": ">=5.0.0",
"use-debounce": "^9.0.2",
"use-debounce": "^9.0.4",
"webpack": "^5.75.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Playroom/CodeEditor/CodeEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useRef, useContext, useEffect, useCallback } from 'react';
// @ts-expect-error no types
import { useDebouncedCallback } from 'use-debounce';
import type { Editor } from 'codemirror';
import 'codemirror/lib/codemirror.css';
Expand Down
1 change: 0 additions & 1 deletion src/Playroom/Playroom.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useContext, type ComponentType, Fragment } from 'react';
import classnames from 'classnames';
// @ts-expect-error no types
import { useDebouncedCallback } from 'use-debounce';
import { Resizable } from 're-resizable';
import Frames from './Frames/Frames';
Expand Down
1 change: 0 additions & 1 deletion src/Playroom/Snippets/Snippets.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useState, useEffect, useMemo, useRef } from 'react';
import classnames from 'classnames';
import fuzzy from 'fuzzy';
// @ts-expect-error no types
import { useDebouncedCallback } from 'use-debounce';
import type { PlayroomProps } from '../Playroom';
import type { Snippet } from '../../../utils';
Expand Down
1 change: 0 additions & 1 deletion src/StoreContext/StoreContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import copy from 'copy-to-clipboard';
import localforage from 'localforage';
import lzString from 'lz-string';
import dedent from 'dedent';
// @ts-expect-error no types
import { useDebouncedCallback } from 'use-debounce';

import { type Snippet, compressParams } from '../../utils';
Expand Down

0 comments on commit 2368d8e

Please sign in to comment.