Skip to content

Commit

Permalink
fix: query on demand, loading indicator always active.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrsep committed Feb 28, 2021
1 parent f979565 commit db0f116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby/cache-dir/loading-indicator/indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export function Indicator({ visible = true }) {
<Style />
<div
data-gatsby-loading-indicator="root"
data-gatsby-loading-indicator-visible={visible}
// preact doesn't render attributes with a literal bool false value
data-gatsby-loading-indicator-visible={visible.toString()}
aria-live="assertive"
>
<div data-gatsby-loading-indicator="spinner" aria-hidden="true">
Expand Down

0 comments on commit db0f116

Please sign in to comment.