diff --git a/packages/storybook-addon-designs/src/manager/components/Figma.tsx b/packages/storybook-addon-designs/src/manager/components/Figma.tsx index 127473b..445be75 100644 --- a/packages/storybook-addon-designs/src/manager/components/Figma.tsx +++ b/packages/storybook-addon-designs/src/manager/components/Figma.tsx @@ -7,7 +7,7 @@ import { IFrame } from "./IFrame"; import { FigmaConfig, IFrameConfigBase } from "../../config"; export const figmaURLPattern = - /https:\/\/[\w\.-]+\.?figma.com\/([\w-]+)\/([0-9a-zA-Z]{22,128})(?:\/.*)?$/; + /https:\/\/[\w.-]+\.?figma.com\/([\w-]+)\/([0-9a-zA-Z]{22,128})(?:\/.*)?$/; export const isFigmaURL = (url: string) => figmaURLPattern.test(url);