mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
some equipment groundwork
This commit is contained in:
1 parent
d3ab4bac51
commit
a2574efb9c
10 files changed
+105
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { api } from "../api/dynamic";
|
||||
import { useAwait } from "./useAwait";
|
||||
|
||||
export function useConsumables() {
|
||||
const consumables = useAwait(() => api.consumables(), "consumables");
|
||||
return consumables;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { api } from "../api/dynamic";
|
||||
import { useAwait } from "./useAwait";
|
||||
|
||||
export function useTierPrices() {
|
||||
const tierPrices = useAwait(() => api.tierPrices(), "tier-prices");
|
||||
return tierPrices;
|
||||
}
|
||||
Reference in new issue
Block a user