simplify tools imports

This commit is contained in:
Gavin McDonald
2025-07-04 14:18:38 -04:00
parent c6e316a1f8
commit b4b0c853f1
14 changed files with 29 additions and 26 deletions

View File

@@ -1,12 +1,12 @@
import { isHighCard, isLowCard } from '@/tools/cardTypes';
import { isHighCard, isLowCard } from '@/tools';
import { Layout, Settings, TarokkaGameCard } from '@/types';
export default function getTooltip(
export const getCardInfo = (
card: TarokkaGameCard,
position: Layout,
dm: boolean,
settings: Settings,
) {
) => {
const { card: cardName, description, flipped } = card;
let text: string[] = [];
@@ -39,4 +39,4 @@ export default function getTooltip(
}
return text;
}
};