Auction show dialog
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user