feat: dragging

This commit is contained in:
tresabhi committed 2024-11-16 23:11:31 -06:00
1 parent aee1ddb948
commit 71c1f8dac9
7 files changed
+316 -206

No files matched your search

@@ -24,7 +24,7 @@ import {
} from '../../stores/tankopediaPersistent/constants';
import { $tankopediaSort } from '../../stores/tankopediaSort';
import { ExperimentIcon } from '../ExperimentIcon';
import { TankCard } from '../TankCard';
import { TankSearchCard } from './components/Card';
import { FilterControl } from './components/FilterControl';
import { NoResults } from './components/NoResults';
import { RecentlyViewed } from './components/RecentlyViewed';
@@ -504,7 +504,11 @@ export const TankSearch = memo<TankSearchProps>(
{tanks.length > 0 && (
<TankCardWrapper>
{tanks.map((tank) => (
<TankCard key={tank.id} onSelect={onSelect} tank={tank} />
<TankSearchCard
tank={tank}
key={tank.id}
onSelect={onSelect}
/>
))}
{times(