Skip to content

Commit

Permalink
extend Updating Channels page to 1000 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
wds4 committed Oct 14, 2023
1 parent b4a096c commit b99e5d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions release/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/renderer/window1/apps/nostr/landingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class NostrLandingPage extends React.Component {
updateMastheadCenter(mastheadDescriptor);

// e.click() doesn't work (in production) without an await here - don't know why
await timeout(10);
await timeout(1000);
const e = document.getElementById('mainFeedButton');
if (e) {
e.click();
Expand All @@ -45,6 +45,7 @@ export default class NostrLandingPage extends React.Component {
nostr main feed
</div>
</NavLink>
<div>Updating pubkey list for Channels ...</div>
<ChannelManagement />
</div>
</div>
Expand Down

0 comments on commit b99e5d6

Please sign in to comment.