From 769a1e41786a80681036efcf33009536946ddcb6 Mon Sep 17 00:00:00 2001 From: JulesBelveze Date: Mon, 6 Jan 2025 11:10:04 +0100 Subject: [PATCH] [front] - refactor: change import method for NotificationType - Use type-only import for NotificationType to improve code clarity and reduce potential for runtime import issues --- front/components/ConnectorPermissionsModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/components/ConnectorPermissionsModal.tsx b/front/components/ConnectorPermissionsModal.tsx index bc79dadb1f49..93c3b1680ef2 100644 --- a/front/components/ConnectorPermissionsModal.tsx +++ b/front/components/ConnectorPermissionsModal.tsx @@ -1,4 +1,5 @@ -import { NotificationType, SheetContainer, SheetTitle } from "@dust-tt/sparkle"; +import type { NotificationType } from "@dust-tt/sparkle"; +import { SheetContainer, SheetTitle } from "@dust-tt/sparkle"; import { SheetHeader } from "@dust-tt/sparkle"; import { Avatar,