mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-15 02:12:23 +00:00
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.
This commit is contained in:
1 parent
abd28d8935
commit
0520251249
1 file changed
-5
@@ -997,10 +997,6 @@ window.initgui = async function (options) {
|
||||
const createTempUser = (turnstileToken) => {
|
||||
// if this is a popup, show a spinner
|
||||
let spinner_init_ts = Date.now();
|
||||
if ( window.embedded_in_popup ) {
|
||||
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>');
|
||||
}
|
||||
|
||||
const requestData = {
|
||||
referrer: referrer,
|
||||
referral_code: window.referral_code,
|
||||
@@ -1074,7 +1070,6 @@ window.initgui = async function (options) {
|
||||
await window.sleep(2000 - spinner_duration);
|
||||
resolve();
|
||||
}
|
||||
puter.ui.hideSpinner();
|
||||
});
|
||||
/*eslint-enable*/
|
||||
|
||||
|
||||
Reference in new issue
Block a user