Skip to content

Commit

Permalink
reable protection if not chain found
Browse files Browse the repository at this point in the history
  • Loading branch information
jb1011 committed Jan 22, 2024
1 parent ca1189a commit 435fbd9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ export default class App extends React.Component {

Ago.timeDiff = timeDiff;
//ICI
// if (chains.length === 0) {
// return (
// <div className="App App-no-telemetry">
// <OfflineIndicator status={status} />
// Waiting for telemetry&hellip;
// </div>
// );
// }
if (chains.length === 0) {
return (
<div className="App App-no-telemetry">
<OfflineIndicator status={status} />
Waiting for telemetry&hellip;
</div>
);
}

const overlay =
tab === 'all-chains' ? (
Expand Down

0 comments on commit 435fbd9

Please sign in to comment.