Skip to content

Commit

Permalink
fixed render issue on status page
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 1, 2023
1 parent 00e1b95 commit b36570e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions faucet-client/src/components/status/FaucetStatusPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class FaucetStatusPage extends React.PureComponent<IFaucetStatusPageProps

private renderFaucetStatus(): React.ReactElement {
if(!this.state.status)
return null;
return <span />;

let sessionStatus = {
mining: 0,
Expand Down Expand Up @@ -341,7 +341,7 @@ export class FaucetStatusPage extends React.PureComponent<IFaucetStatusPageProps

private renderSessionIpInfo(session: IClientSessionStatus, props: any): React.ReactElement {
if(!session.ipInfo)
return null;
return <span />;

return (
<Tooltip id="ipinfo-tooltip" {...props}>
Expand Down Expand Up @@ -394,7 +394,7 @@ export class FaucetStatusPage extends React.PureComponent<IFaucetStatusPageProps

private renderRestrictionInfo(session: IClientSessionStatus, props: any): React.ReactElement {
if(!session.restr)
return null;
return <span />;

return (
<Tooltip id="ipinfo-tooltip" {...props}>
Expand Down Expand Up @@ -427,7 +427,7 @@ export class FaucetStatusPage extends React.PureComponent<IFaucetStatusPageProps

private renderFactorInfo(session: IClientSessionStatus, props: any): React.ReactElement {
if(!session.factors)
return null;
return <span />;

return (
<Tooltip id="ipinfo-tooltip" {...props}>
Expand Down

0 comments on commit b36570e

Please sign in to comment.