feat: add utils lib

This commit is contained in:
2026-06-18 21:34:57 -03:00
parent 134b13c9b7
commit 7b08860b4e
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -3,6 +3,8 @@
import { useState, useEffect, useMemo } from 'react';
import { useInventoryStore } from '@/store/useInventoryStore';
import { isKiller } from '../lib/utils';
import shared from '../../styles/shared.module.css';
import styles from '../../styles/Characters.module.css';
@@ -19,8 +21,6 @@ const getIconUrl = (iconFilePath: string) => {
type RoleFilter = 'all' | 'survivors' | 'killers';
const isKiller = (idx: number) => idx >= 268435456;
export default function CharactersPage() {
const store = useInventoryStore();