Skip to content

Commit 62c387b

Browse files
committed
Updated the WelcomeDialog.jsx
1 parent 639fe93 commit 62c387b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/common/components/WelcomeDialog/WelcomeDialog.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export const Dialog = () => {
2323
const [animating, setAnimating] = useState(false);
2424

2525
const finish = async () => {
26+
await patchRequest("/config/provider", {value: provider});
27+
2628
if (config.previewMode) {
2729
localStorage.setItem("welcomeShown", "true");
2830
} else {
29-
await patchRequest("/config/provider", {value: provider});
30-
3131
await patchRequest("/config/ping", {value: ping});
3232
await patchRequest("/config/download", {value: download});
3333
await patchRequest("/config/upload", {value: upload});

0 commit comments

Comments
 (0)