Skip to content

Commit 7bfd5c6

Browse files
committed
fix: specific symbol
1 parent 5fd14e1 commit 7bfd5c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stability-ui",
33
"type": "module",
4-
"version": "0.11.43-alpha",
4+
"version": "0.11.44-alpha",
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",

src/utils/functions/getSpecificSymbol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const getSpecificSymbol = (specific: string): string => {
2-
const parts = specific.trim().split(/\s+/);
2+
const parts = specific ? specific.trim().split(/\s+/) : "";
33

44
for (const part of parts) {
55
if (!/^\d+(\.\d+)?$/.test(part)) {

0 commit comments

Comments
 (0)