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 a5825b0 commit 5c85934Copy full SHA for 5c85934
src/layout/Navbar/NavHost.svelte
@@ -16,19 +16,23 @@
16
17
const client = useQueryClient();
18
19
+ function reload() {
20
+ location.reload();
21
+ }
22
+
23
function clear_and_reload() {
24
client.clear();
25
// `client.clear()` does technically do this for us, but it takes a while.
26
localStorage.clear();
27
- location.reload();
28
+ reload();
29
}
30
31
let url = settings.api_base_url();
32
33
function save() {
34
settings.set_api_base_url(url);
- clear_and_reload();
35
36
37
38
function reset() {
0 commit comments