Skip to content

Commit

Permalink
fix: missing react key on settings menu fragment (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmmcken authored Jan 30, 2024
1 parent 8cb0a10 commit b14b714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/code-studio/src/settings/SettingsMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { Component, ReactElement, RefObject } from 'react';
import React, { Component, Fragment, ReactElement, RefObject } from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
vsClose,
Expand Down Expand Up @@ -139,10 +139,10 @@ export class SettingsMenu extends Component<
const copyShortcut = GLOBAL_SHORTCUTS.COPY_VERSION_INFO.getDisplayText();

const getRow = (text: string, ver?: string): JSX.Element => (
<>
<Fragment key={text}>
<div>{text}</div>
<div>{ver}</div>
</>
</Fragment>
);

const userDisplayName = user.displayName ?? user.name;
Expand Down

0 comments on commit b14b714

Please sign in to comment.