We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c7feb commit d7ec115Copy full SHA for d7ec115
client/modules/IDE/hooks/useWhatPage.js
@@ -1,4 +1,3 @@
1
-/* eslint-disable no-useless-escape */
2
import { useEffect, useState } from 'react';
3
import { useSelector } from 'react-redux';
4
import { useLocation } from 'react-router-dom';
@@ -15,7 +14,7 @@ const useWhatPage = () => {
15
14
const [pageName, setPageName] = useState(projectName);
16
17
const myStuffPattern = new RegExp(
18
- `(\/${username}\/(sketches\/?$|collections|assets)\/?)`
+ `(/${username}/(sketches/?$|collections|assets)/?)`
19
);
20
21
useEffect(() => {
0 commit comments