Skip to content

Commit 558156a

Browse files
yuanjackie1jasnoo
authored andcommitted
Fixed the any type for status in ErrorMsg.tsx
1 parent 5adb229 commit 558156a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/ErrorMsg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import React from 'react';
33

44
// parses loadingArray and status and returns the correct message
5-
function parseError(loadingArray: [], status: any): string {
5+
function parseError(loadingArray: [], status: Record<string, unknown>): string {
66
let stillLoading = true;
77
loadingArray.forEach((e) => {
88
if (e === false) stillLoading = false;

0 commit comments

Comments
 (0)