Skip to content

Commit 6d0ade4

Browse files
committed
chore: typefix
1 parent 8d85dd2 commit 6d0ade4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/challenges/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function Card({ challenge }: CardProps) {
3636
},
3737
)
3838
.then((res: AxiosResponse<postResponse>) => {
39-
setStatus(res.data.status as postResponse["status"]);
39+
setStatus(res.data.status);
4040
console.log(status);
4141
})
4242
.catch((error) => {

0 commit comments

Comments
 (0)