Skip to content

Commit 0520251

Browse files
committed
Remove spinner display in popup during temp user creation
Eliminated the spinner shown when creating a temporary user in popup mode and removed the corresponding hideSpinner call. This streamlines the user experience during account setup.
1 parent abd28d8 commit 0520251

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/gui/src/initgui.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -997,10 +997,6 @@ window.initgui = async function (options) {
997997
const createTempUser = (turnstileToken) => {
998998
// if this is a popup, show a spinner
999999
let spinner_init_ts = Date.now();
1000-
if ( window.embedded_in_popup ) {
1001-
puter.ui.showSpinner('<span style="-webkit-font-smoothing: antialiased;">Setting up your <a href="https://puter.com" target="_blank">Puter.com</a> account for secure AI and Cloud features</span>');
1002-
}
1003-
10041000
const requestData = {
10051001
referrer: referrer,
10061002
referral_code: window.referral_code,
@@ -1074,7 +1070,6 @@ window.initgui = async function (options) {
10741070
await window.sleep(2000 - spinner_duration);
10751071
resolve();
10761072
}
1077-
puter.ui.hideSpinner();
10781073
});
10791074
/*eslint-enable*/
10801075

0 commit comments

Comments
 (0)