Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

Import cn directly, drop the now-unused lib/utils.ts wrapper

Anmol Kapil8731b24ebb8c
diff --git a/src/renderer/src/components/ColorBadge.tsx b/src/renderer/src/components/ColorBadge.tsx
index fdd8aeb..8c72cf1 100644
--- a/src/renderer/src/components/ColorBadge.tsx
+++ b/src/renderer/src/components/ColorBadge.tsx
@@ -1,4 +1,4 @@
-import { cn } from '../lib/utils'
+import { cn } from 'cn'
import { Badge } from './ui/badge'
/** A `Badge` tinted with an arbitrary bg/border/text triple — for the many places a status or
diff --git a/src/renderer/src/components/HeroBand.tsx b/src/renderer/src/components/HeroBand.tsx
index b8eec40..cd36c57 100644
--- a/src/renderer/src/components/HeroBand.tsx
+++ b/src/renderer/src/components/HeroBand.tsx
@@ -1,4 +1,4 @@
-import { cn } from '../lib/utils'
+import { cn } from 'cn'
/** The dark panel every screen opens on — always this exact panel from the design regardless of
* the app's own light/dark theme, so its children (labels, diagrams, charts) stay legible no
diff --git a/src/renderer/src/components/ScreenFooter.tsx b/src/renderer/src/components/ScreenFooter.tsx
index e19cb31..45c051f 100644
--- a/src/renderer/src/components/ScreenFooter.tsx
+++ b/src/renderer/src/components/ScreenFooter.tsx
@@ -1,4 +1,4 @@
-import { cn } from '../lib/utils'
+import { cn } from 'cn'
/** The bottom bar every screen ends on — border, background and padding are fixed, `className`
* only tunes per-screen gap/alignment. */
diff --git a/src/renderer/src/lib/utils.ts b/src/renderer/src/lib/utils.ts
deleted file mode 100644
index ae9e5a7..0000000
--- a/src/renderer/src/lib/utils.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { cn } from 'cn'