From cf417c5ee95cc8379cbbcffdd400c8d3c8742f73 Mon Sep 17 00:00:00 2001 From: Josue Date: Thu, 25 Mar 2021 11:00:32 -0400 Subject: [PATCH] refactor: specify data type in map --- striker-ui/components/SharedStorage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui/components/SharedStorage.tsx b/striker-ui/components/SharedStorage.tsx index 30ba1b8a..00ae10fb 100644 --- a/striker-ui/components/SharedStorage.tsx +++ b/striker-ui/components/SharedStorage.tsx @@ -22,7 +22,7 @@ const SharedStorage = ({ anvil }: { anvil: AnvilListItem }): JSX.Element => { {data && data.file_systems[0]?.nodes.map( - (node: AnvilSharedStorageNode, index: number) => ( + (node: AnvilSharedStorageNode, index: number): JSX.Element => (