Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
chore: Fix react key warning (#5496)
Oleg Isonen9487a5744bee
diff --git a/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx b/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsxindex 0321d50caa..5d42489878 100644--- a/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx+++ b/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx@@ -12,6 +12,7 @@ import {Box,} from "@webstudio-is/design-system";import { atom } from "nanostores";+import { Fragment } from "react";import { $commandMetas } from "~/shared/commands-emitter";const $isKeyboardShortcutsOpen = atom(false);@@ -222,12 +223,8 @@ export const KeyboardShortcutsDialog = () => {}return (- <>- <Box- css={{- textAlign: "right",- }}- >+ <Fragment key={command.name}>+ <Box css={{ textAlign: "right" }}><Boxas="span"css={{@@ -237,23 +234,18 @@ export const KeyboardShortcutsDialog = () => {}}><Kbd- key={`${command.name}-kbd`}value={hotkey.split("+") as string[]}color="moreSubtle"/></Box></Box>- <Text- key={`${command.name}-text`}- variant="regular"- color="subtle"- >+ <Text variant="regular" color="subtle">{("description" in command &&command.description) ||command.label ||command.name}</Text>- </>+ </Fragment>);})}</Grid>