fix(Storybook): correct parsing of figma urls with in node-id
This commit is contained in:
parent
2dc9c950d9
commit
1c80cbb3df
|
@ -7,7 +7,7 @@ QtObject {
|
|||
const fileRegex = /www\.figma\.com\/file\/([a-zA-Z0-9]+)/
|
||||
const fileMatch = link.match(fileRegex)
|
||||
|
||||
const nodeIdRegex = /node-id=([0-9A-Za-z%]+)/
|
||||
const nodeIdRegex = /node-id=([0-9A-Za-z%-]+)/
|
||||
const nodeIdMatch = link.match(nodeIdRegex)
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue