deprecated

This commit is contained in:
2023-09-19 10:49:04 +02:00
parent e8898f76f0
commit a483580906

View File

@@ -12,7 +12,12 @@ type MarketItemStorage = {
} }
const item = ref(""); const item = ref("");
const oldStorage = useStorage<MarketItemStorage[]>('market-items', []); // TODO: remove this after a while /**
* @deprecated use itemsStorage instead
*
* TODO: remove this in the future
*/
const oldStorage = useStorage<MarketItemStorage[]>('market-items', []);
const itemsStorage = useStorage<MarketItemStorage[]>('market-scan-items', []); const itemsStorage = useStorage<MarketItemStorage[]>('market-scan-items', []);
const items = ref<MarketResult[]>([]); const items = ref<MarketResult[]>([]);
const addOrRelaod = async (type: MarketType) => { const addOrRelaod = async (type: MarketType) => {