Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Mar 10, 2024
1 parent 114b989 commit a55de88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/loader/loader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class LoaderComponent extends React.Component {
this.progress = 0;
this.complete = 0;
this.total = 0;
this.unhelpfulTip = tip[Math.round(Math.random() * tip.length)];
bindAll(this, [
'barInnerRef',
'handleProgressChange',
Expand Down Expand Up @@ -139,7 +140,7 @@ class LoaderComponent extends React.Component {
<div className={styles.title}>
{mainMessages[this.props.messageId]}
</div>
<p>{tip[Math.round(Math.random() * tip.length)]}</p>
<p dangerouslySetInnerHTML={{__html: this.unhelpfulTip}}/>
<div className={styles.messageContainerOuter}>
<div
className={styles.messageContainerInner}
Expand Down

1 comment on commit a55de88

@dumorando
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its funny how that is a real property

Please sign in to comment.