feat(settings): make settings page composable more compatible

The composable now uses replace instead of replaceAll which is not
supported by some old browsers.
This commit is contained in:
2026-07-27 19:05:01 +02:00
parent a1da2eb2e6
commit 61a41ec813
@@ -20,7 +20,7 @@ const normalizePagePath = function normalizePagePath (path) {
return path
.replace(/\.+/g, '.')
.replace(/^\.+|\.+$/g, '')
.replaceAll('.', '/');
.replace(/\./g, '/');
};
export const useSettingsPage = function useSettingsPage () {