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:
parent
78f3428fc1
commit
1fa9915cf7
2 changed files with 5 additions and 1 deletions
4
dist/js/run.js
vendored
4
dist/js/run.js
vendored
|
@ -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);
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue