Skip to content

Commit

Permalink
fix(build): add temp typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
cesconix committed Jun 26, 2024
1 parent 6cc3348 commit 28926d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pinorama-studio/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function LogLine({ log }: { log: any }) {
10: { label: "trace", className: "text-gray-500" }
}

const { label, className } = levels[log.level]
const { label, className } = levels[log.level as keyof typeof levels]

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion packages/pinorama-studio/src/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const useLogs = () => {
const response: any = await client?.search({
limit: 200000
})
return response.hits.map((hit) => hit.document)
return response.hits.map((hit: { document: unknown }) => hit.document)
}
})

Expand Down

0 comments on commit 28926d0

Please sign in to comment.