From 290402ee6a5f121d0cf18bd13c95c039106aafe7 Mon Sep 17 00:00:00 2001 From: Travis Lesicka <59949694+tlesicka@users.noreply.github.com> Date: Thu, 7 Nov 2024 06:11:46 +1000 Subject: [PATCH] Fixes #3729: Typescript and Runtime error after previous merge (#3794) --- packages/desktop-client/src/components/common/Modal.tsx | 2 +- upcoming-release-notes/3794.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/3794.md 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'; 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.