Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7f82820

Browse files
committed
Displaying p5.js version in About page
1 parent 1fab3ad commit 7f82820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎client/modules/About/pages/About.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const About = () => {
5252

5353
const p5version = useSelector((state) => {
5454
const index = state.files.find((file) => file.name === 'index.html');
55-
return index?.content.match(/\/p5\.js\/([\d.]+)\//)?.[1];
55+
return index?.content.match(/\/p5@([\d.]+)\//)?.[1];
5656
});
5757

5858
return (

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /