fix: types

This commit is contained in:
TrèsAbhi committed 2024-06-25 20:05:41 -05:00
1 parent 8b082ed31f
commit 3767f3e51e
2 files changed
+3 -1

No files matched your search

@@ -30,7 +30,7 @@ import { TankCard } from '../TankCard';
import { TankCardWrapper } from '../TankCardWrapper';
import { treeTypeOrder } from './constants';
type TankSearchProps = FlexProps & {
type TankSearchProps = Omit<FlexProps, 'onSelect'> & {
compact?: boolean;
onSelect?: (tank: TankDefinition) => void;
onSelectAll?: (tanks: TankDefinition[]) => void;
+2
View File
@@ -4,6 +4,8 @@ import { useApp } from '../stores/app';
let cache: Record<string, boolean> = {};
export function useAdExempt() {
return true;
const patreon = useApp((state) => state.logins.patreon);
const promise = useMemo(
() =>