chore: apply biome autofix in shop dashboard
This commit is contained in:
@@ -131,7 +131,7 @@ export default function ShopManagementPage() {
|
|||||||
if (next === null) return
|
if (next === null) return
|
||||||
const value = next.trim()
|
const value = next.trim()
|
||||||
if (!value) return
|
if (!value) return
|
||||||
const index = shop.announcements.findIndex((item) => item === announcement)
|
const index = shop.announcements.indexOf(announcement)
|
||||||
if (index < 0) return
|
if (index < 0) return
|
||||||
updateAnnouncement(shop.id, index, value)
|
updateAnnouncement(shop.id, index, value)
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user