From a84fbafa7525984d1203dbceeb3c1963235665fc Mon Sep 17 00:00:00 2001 From: Travis Lesicka Date: Wed, 6 Nov 2024 21:28:19 +1000 Subject: [PATCH 1/2] Fixes typescript and runtime error after #3729 --- packages/desktop-client/src/components/common/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/desktop-client/src/components/common/Modal.tsx b/packages/desktop-client/src/components/common/Modal.tsx index 5a7b85e1aec..b9286933f7c 100644 --- a/packages/desktop-client/src/components/common/Modal.tsx +++ b/packages/desktop-client/src/components/common/Modal.tsx @@ -22,9 +22,9 @@ import { useModalState } from '../../hooks/useModalState'; import { AnimatedLoading } from '../../icons/AnimatedLoading'; import { SvgLogo } from '../../icons/logo'; import { SvgDelete } from '../../icons/v0'; -import { useResponsive } from '../../ResponsiveProvider'; import { styles, theme } from '../../style'; import { tokens } from '../../tokens'; +import { useResponsive } from '../responsive/ResponsiveProvider'; import { Button } from './Button2'; import { Input } from './Input'; From 612355ad3096d2b90bd833922d5abace5572c14a Mon Sep 17 00:00:00 2001 From: Travis Lesicka Date: Wed, 6 Nov 2024 21:34:53 +1000 Subject: [PATCH 2/2] Create 3794.md --- upcoming-release-notes/3794.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 upcoming-release-notes/3794.md diff --git a/upcoming-release-notes/3794.md b/upcoming-release-notes/3794.md new file mode 100644 index 00000000000..7d447c810fa --- /dev/null +++ b/upcoming-release-notes/3794.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [tlesicka] +--- + +Fixes typescript and runtime error from useResponsive update.