refactor: clean up code formatting and improve consistency across multiple components
Deploy to VPS / deploy (push) Failing after 1m59s
Deploy to VPS / deploy (push) Failing after 1m59s
This commit is contained in:
@@ -17,9 +17,7 @@ export function formatBytes(bytes: number): string {
|
||||
/**
|
||||
* Safely parse a JSON string into an array.
|
||||
*/
|
||||
export function safeParseJsonArray(
|
||||
value: string | null | undefined,
|
||||
): string[] {
|
||||
export function safeParseJsonArray(value: string | null | undefined): string[] {
|
||||
if (!value) return [];
|
||||
try {
|
||||
const parsed = JSON.parse(value);
|
||||
|
||||
@@ -2,11 +2,11 @@ import {
|
||||
BarChart3,
|
||||
Headphones,
|
||||
LayoutDashboard,
|
||||
type LucideIcon,
|
||||
MessageSquare,
|
||||
Mic,
|
||||
Music,
|
||||
Search,
|
||||
type LucideIcon,
|
||||
} from "lucide-react";
|
||||
|
||||
export interface NavItem {
|
||||
|
||||
Reference in New Issue
Block a user