feat: cooler header

This commit is contained in:
tresabhi committed 2025-04-14 19:26:41 -05:00
1 parent f0295079cc
commit 9d916a588d
10 files changed
+99 -38

No files matched your search

@@ -95,6 +95,8 @@ export function MetaSection() {
<TankSearch
compact
onSelect={(tank) => {
const model = modelDefinitions.models[tank.id];
setShowSwapDialog(false);
mutateTankopediaEphemeral((draft) => {
draft.model = modelDefinitions.models[tank.id];
@@ -102,6 +104,7 @@ export function MetaSection() {
mutateDuel((draft) => {
draft.protagonist = tankToDuelMember(
tank,
model,
provisionDefinitions,
);
});