feat(app): various updates for v2.0.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as Icons from "phosphor-react";
|
||||
import * as Icons from "@phosphor-icons/react";
|
||||
import { icons as iconData } from "@phosphor-icons/core";
|
||||
|
||||
import { IconEntry } from ".";
|
||||
@@ -12,6 +12,4 @@ if (process.env.NODE_ENV === "development") {
|
||||
console.log(`${icons.length} icons`);
|
||||
}
|
||||
|
||||
export const iconCount = (icons.length * 6)
|
||||
.toString()
|
||||
.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
export const iconCount = Intl.NumberFormat("en-US").format(icons.length * 6);
|
||||
|
||||
Reference in New Issue
Block a user