Skip to content

Commit 87a6057

Browse files
committed
removed unnecessary const
1 parent ba725f4 commit 87a6057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/globals/globals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ export const cdnSoundUrl =
2727
? `https://cdn.jsdelivr.net/npm/p5.sound@${p5SoundVersion}` as const
2828
: `https://cdn.jsdelivr.net/npm/p5@${p5Version}/lib/addons/p5.sound.min.js` as const
2929
export const p5MajorVersion =
30-
p5Version.split('.')[0] as const;
30+
p5Version.split('.')[0];
3131
export const p5LatestUrl =
3232
`https://cdn.jsdelivr.net/npm/p5@${p5Version.split('.')[0]}/lib/p5.min.js` as const;

0 commit comments

Comments
 (0)