Skip to content

Commit 8bb7f54

Browse files
committed
fix(settings): add key to header action chip (biome useJsxKeyInIterable)
1 parent 6b92938 commit 8bb7f54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/app/workspace/[workspaceId]/settings/components/settings-header/settings-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import {
44
type ComponentType,
55
createContext,
6-
Fragment,
76
type ReactNode,
87
type Ref,
98
useCallback,
@@ -152,6 +151,7 @@ export function SettingsHeaderShell({ children }: { children: ReactNode }) {
152151
{actions?.map((action, index) => {
153152
const chip = (
154153
<Chip
154+
key={action.text}
155155
variant={action.variant}
156156
active={action.active}
157157
leftIcon={action.icon}
@@ -169,7 +169,7 @@ export function SettingsHeaderShell({ children }: { children: ReactNode }) {
169169
<Tooltip.Content>{action.tooltip}</Tooltip.Content>
170170
</Tooltip.Root>
171171
) : (
172-
<Fragment key={action.text}>{chip}</Fragment>
172+
chip
173173
)
174174
})}
175175
</div>

0 commit comments

Comments
 (0)