feat: make code more strict

This commit is contained in:
2026-04-24 19:47:03 +08:00
parent 05b355e709
commit 3f3ff08d25
+2 -2
View File
@@ -269,7 +269,7 @@ export default function ModCodesPage() {
onCancel={() => setCreateModalOpen(false)} onCancel={() => setCreateModalOpen(false)}
onSuccess={() => { onSuccess={() => {
setCreateModalOpen(false) setCreateModalOpen(false)
loadModifications() void loadModifications()
}} }}
/> />
@@ -280,7 +280,7 @@ export default function ModCodesPage() {
onCancel={() => setEditingModification(null)} onCancel={() => setEditingModification(null)}
onSuccess={() => { onSuccess={() => {
setEditingModification(null) setEditingModification(null)
loadModifications() void loadModifications()
}} }}
/> />
</> </>