From b88311e857ae9435222fd5cbab784d95f9c9e106 Mon Sep 17 00:00:00 2001 From: Matthew Kwong Date: Tue, 17 Dec 2024 23:31:01 +0800 Subject: [PATCH] fix: work around bundle size issue --- src/components/header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/header.tsx b/src/components/header.tsx index fd8a3434..7790db24 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -3,8 +3,8 @@ import { type ContainerProps, Flex, IconButton, - Popover, } from '@radix-ui/themes'; +import * as Popover from '@radix-ui/themes/dist/esm/components/popover.js'; // WORKAROUND: if importing compound components from @radix-ui/themes, it will not be tree-shaken import { IconBrandGithub, IconBrandLinkedin,