1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix run.js hibernation problem

This commit is contained in:
Andrew Simachev 2024-10-04 15:15:34 +02:00
parent 78f3428fc1
commit 1fa9915cf7
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
2 changed files with 5 additions and 1 deletions

4
dist/js/run.js vendored
View file

@ -2,5 +2,9 @@ const s = document.createElement('script');
s.src = './js/main.js?' + Math.random();
s.type = 'text/javascript';
s.onerror = function() {
console.error('Failed to load main.js');
window.setTimeout(() => window.location.reload(), 1000);
};
document.body.appendChild(s);

View file

@ -177,7 +177,7 @@ const PopupSettingsSpaceShare = observer(class PopupSettingsSpaceShare extends R
<div className="icons">
<Icon className="question withBackground" onClick={this.onInfo} />
{space.isShared ? <Icon id="button-more-space" className="more" onClick={this.onMoreSpace} /> : ''}
{space.isShared ? <Icon id="button-more-space" className="more withBackground" onClick={this.onMoreSpace} /> : ''}
</div>
</div>