mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
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 fileRegex = /www\.figma\.com\/file\/([a-zA-Z0-9]+)/
|
||||||
const fileMatch = link.match(fileRegex)
|
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)
|
const nodeIdMatch = link.match(nodeIdRegex)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user