Auction show dialog

This commit is contained in:
2026-09-18 18:07:46 +03:00
parent a208ac40f8
commit 45499efa52
5 changed files with 85 additions and 3 deletions
@@ -0,0 +1,12 @@
import { atom } from "nanostores";
export const $currentAuction = atom(null);
export function setAuction(data) {
$currentAuction.set(data)
}
export function resetAuction(path) {
history.pushState(null, null, path)
$currentAuction.set(null)
}