Skip desktop project bootstrap during perf state replay
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
b891cb7754
commit
4b442009d2
2 files changed
+5
No files matched your search
@@ -129,6 +129,10 @@ function DesktopProjectBootstrap() {
|
||||
|
||||
useEffect(() => {
|
||||
if (!isElectron || !api || bootstrappedRef.current) return;
|
||||
if (window.localStorage.getItem("t3code:perf-bootstrap-skip") === "1") {
|
||||
bootstrappedRef.current = true;
|
||||
return;
|
||||
}
|
||||
|
||||
let disposed = false;
|
||||
let retryDelayMs = 500;
|
||||
|
||||
Reference in new issue
Block a user