style: run format:apply

This commit is contained in:
2026-06-19 04:29:24 -03:00
parent f51a71a574
commit c2b94bec4a
36 changed files with 3251 additions and 2597 deletions
+7 -7
View File
@@ -1,13 +1,13 @@
import { DB_BASE_URL } from "@/lib/db";
import { DB_BASE_URL } from '@/lib/db';
export type Perk = {
id: string;
name: string;
iconFilePath: string;
role: number;
id: string;
name: string;
iconFilePath: string;
role: number;
};
export const getPerkIconUrl = (iconFilePath: string) => {
const file = (iconFilePath.split('/').pop() ?? '').split('.')[0];
return `${DB_BASE_URL}/icons/perk-icons/${file}.png`;
const file = (iconFilePath.split('/').pop() ?? '').split('.')[0];
return `${DB_BASE_URL}/icons/perk-icons/${file}.png`;
};