We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d85dd2 commit 6d0ade4Copy full SHA for 6d0ade4
src/components/challenges/Card.tsx
@@ -36,7 +36,7 @@ export function Card({ challenge }: CardProps) {
36
},
37
)
38
.then((res: AxiosResponse<postResponse>) => {
39
- setStatus(res.data.status as postResponse["status"]);
+ setStatus(res.data.status);
40
console.log(status);
41
})
42
.catch((error) => {
0 commit comments