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-28 20:10:20 +02:00
parent d3f3ef37ed
commit 241ac889fc
@@ -20,7 +20,7 @@ const normalizePagePath = function normalizePagePath (path) {
return path return path
.replace(/\.+/g, '.') .replace(/\.+/g, '.')
.replace(/^\.+|\.+$/g, '') .replace(/^\.+|\.+$/g, '')
.replaceAll('.', '/'); .replace(/\./g, '/');
}; };
export const useSettingsPage = function useSettingsPage () { export const useSettingsPage = function useSettingsPage () {