Skip to content

Commit

Permalink
Merge pull request #108 from BadIdeaFactory/99-temporary-fix-for-blog…
Browse files Browse the repository at this point in the history
…-page-flash

Remove source of flashing
  • Loading branch information
slifty authored Jun 6, 2022
2 parents 7af88a1 + 3297942 commit bee66e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ui/templates/BlogPostTpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export default class BlogPostTpl extends Component {
const readingTime = Math.random() * 300;
if (typeof window !== "undefined") {
this.tick = this.tick.bind(this);
setInterval(this.tick, 3000);
//setInterval(this.tick, 3000);
// Note the above line was removed because it was causing
// the page to flash every 3 seconds.
// See https://github.com/BadIdeaFactory/biffud.com/issues/99
// for further details.
}
this.state = {
readingTime
Expand Down

0 comments on commit bee66e8

Please sign in to comment.