refactor: clean up code formatting and improve consistency across multiple components
Deploy to VPS / deploy (push) Failing after 1m59s

This commit is contained in:
asepharyana
2026-07-26 15:39:41 +07:00
parent c2502a0e5f
commit 300512b2cb
12 changed files with 47 additions and 108 deletions
+1 -3
View File
@@ -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);
+1 -1
View File
@@ -2,11 +2,11 @@ import {
BarChart3,
Headphones,
LayoutDashboard,
type LucideIcon,
MessageSquare,
Mic,
Music,
Search,
type LucideIcon,
} from "lucide-react";
export interface NavItem {