-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e67254
commit 2fc89e6
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import dynamic from "next/dynamic"; | ||
|
||
export const BlueprintIcon = dynamic( | ||
() => import("@blueprintjs/core/lib/esm/components/icon/icon").then(({ Icon }) => Icon), | ||
{ | ||
ssr: false, | ||
} | ||
); | ||
// TODO: delete blueprint icons to reduce bundle size | ||
export const BlueprintIcon = dynamic(() => import("@blueprintjs/core").then(({ Icon }) => Icon), { | ||
ssr: false, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters