From 1fd36a39fd6b06cb6056d3fb79a5e3b908affb0d Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 18 Jun 2026 21:55:23 -0300 Subject: [PATCH] style: move lib outside of app folder --- app/characters/page.tsx | 2 +- app/customizations/page.tsx | 2 +- {app/lib => lib}/utils.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {app/lib => lib}/utils.ts (100%) diff --git a/app/characters/page.tsx b/app/characters/page.tsx index d2ef6f3..242b466 100644 --- a/app/characters/page.tsx +++ b/app/characters/page.tsx @@ -3,7 +3,7 @@ import { useState, useEffect, useMemo } from 'react'; import { useInventoryStore } from '@/store/useInventoryStore'; -import { isKiller } from '../lib/utils'; +import { isKiller } from '../../lib/utils'; import shared from '../../styles/shared.module.css'; import styles from '../../styles/Characters.module.css'; diff --git a/app/customizations/page.tsx b/app/customizations/page.tsx index 9d46619..3d65ccd 100644 --- a/app/customizations/page.tsx +++ b/app/customizations/page.tsx @@ -6,7 +6,7 @@ import { useInventoryStore } from '@/store/useInventoryStore'; import shared from '../../styles/shared.module.css'; import styles from '../../styles/Customizations.module.css'; -import { getFileName, cleanFolderName, isKiller } from '../lib/utils'; +import { getFileName, cleanFolderName, isKiller } from '../../lib/utils'; import { Character, CustomizationItem, RoleFilter, Tab, TAB_CATEGORIES, CATEGORY_ORDER } from './types'; import CharacterPicker from './CharacterPicker'; import CharacterCosmetics from './CharacterCosmetics'; diff --git a/app/lib/utils.ts b/lib/utils.ts similarity index 100% rename from app/lib/utils.ts rename to lib/utils.ts