From 3fe8059e7795fdd56d9ca07d6d1103cd8420580d Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sun, 21 Jun 2026 01:11:44 +0200 Subject: [PATCH] refactor: remove unused parseClassList utility --- static/utils.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/static/utils.ts b/static/utils.ts index 07977b0..6a7d09a 100644 --- a/static/utils.ts +++ b/static/utils.ts @@ -1,17 +1,3 @@ -/** - * Parse a space-separated class list string into an array, filtering empty entries. - */ -export const parseClassList = (value: string | null): string[] => { - if (!value) { - return []; - } - - return value - .split(" ") - .map((entry: string): string => entry.trim()) - .filter((entry: string): boolean => entry.length > 0); -}; - export const onReady = (fn: () => void): void => { if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", fn, { once: true });