We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cddc023 commit 09a9c81Copy full SHA for 09a9c81
xp-archive/client/context/appState/AppStateProvider.tsx
@@ -16,7 +16,6 @@ export const AppStateProvider = ({ children }: Props) => {
16
const [selectedLocale, setSelectedLocale] = useState<Locale>('no');
17
const [selectedVersion, setSelectedVersion] = useState<SelectedVersion>();
18
19
- // Parse URL on mount
20
useEffect(() => {
21
const path = window.location.pathname;
22
const matches = path.match(/\/xp\/([^\/]+)\/([^\/]+)/);
0 commit comments