Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
fix: json import text error
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepbox8646 committed Aug 17, 2024
1 parent 4223143 commit 0e77509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/json/src/import-widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function processItem(
// eslint-disable-next-line no-new-func
return Function(`return ${(item as string).replace(/calc\(/, '').replace(/\)$/, '')}`)()
}
return item
}

export function processOptions(
Expand Down

0 comments on commit 0e77509

Please sign in to comment.