mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Fix lint errors
This commit is contained in:
@@ -33,12 +33,9 @@ export default function OneClickDownloadMap() {
|
||||
|
||||
progressBar.open();
|
||||
|
||||
console.log("AAAA", mapId, isHash);
|
||||
|
||||
const promise = (async () => {
|
||||
|
||||
const mapDetails = isHash === "true" ? (await bsv.getMapDetailsFromHashs([mapId])).at(0) : await bsv.getMapDetailsById(mapId);
|
||||
console.log(mapDetails);
|
||||
|
||||
setMapInfo(() => mapDetails);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user