Skip to content

Commit

Permalink
UI kit gallery: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Apr 29, 2024
1 parent 787ca87 commit 56bc27c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/uikit-gallery/src/TokenIcon/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function TokenIconFixture({
defaultMode: "single" | "group";
}) {
const symbols = options.map((name, index) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
return useFixtureSelect(`token ${index + 1}`, {
options: [emptyOption, ...options],
defaultValue: defaultMode === "single" && index > 0 ? emptyOption : name,
Expand Down

0 comments on commit 56bc27c

Please sign in to comment.