Skip to content

Commit

Permalink
fix: set correct condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gciotola committed Feb 4, 2025
1 parent aa1d4e4 commit a86fa3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export const TokenProvider: React.FC<TokenProviderProps> = ({
})

return appsConfig[appSlug].hide != null
? appsConfig[appSlug].hide
? !appsConfig[appSlug].hide
// @ts-expect-error TS is not able to infer the type from the union of tuples
.includes(block)
: true
Expand Down

0 comments on commit a86fa3b

Please sign in to comment.