diff --git a/site/src/components/SvgPreview/utils.ts b/site/src/components/SvgPreview/utils.ts index 7772f8f30ed..03f767f8417 100644 --- a/site/src/components/SvgPreview/utils.ts +++ b/site/src/components/SvgPreview/utils.ts @@ -28,7 +28,7 @@ export const getCommands = (src: string) => ); export const getPaths = (src: string) => { - const commands = getCommands(src); + const commands = getCommands(src.includes('${src}`); const paths: Path[] = []; let prev: Point | undefined = undefined; let start: Point | undefined = undefined;