Skip to content

Commit

Permalink
refactor: Remove typecasting by any (langgenius#7862)
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF authored and JunXu01 committed Nov 9, 2024
1 parent b8c458d commit 64a08bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/(commonLayout)/apps/Apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const Apps = () => {
<nav className='grid content-start grid-cols-1 gap-4 px-12 pt-2 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 grow shrink-0'>
{isCurrentWorkspaceEditor
&& <NewAppCard onSuccess={mutate} />}
{data?.map(({ data: apps }: any) => apps.map((app: any) => (
{data?.map(({ data: apps }) => apps.map(app => (
<AppCard key={app.id} app={app} onRefresh={mutate} />
)))}
<CheckModal />
Expand Down

0 comments on commit 64a08bd

Please sign in to comment.