fix types issue

This commit is contained in:
Chen, Tai-Lin committed 2024-03-05 00:27:08 +08:00
1 parent ec63bba0fe
commit 807974d727
15 files changed
+49 -25

No files matched your search

+3 -2
View File
@@ -17,8 +17,9 @@ const handleLogin = async ({
}: {
username: string
password: string
success: any
error: any
success: () => void
// eslint-disable-next-line no-unused-vars
error: (msg: string) => void
}) => {
try {
const isSuccess = await login(username, password)