Skip to content

Commit db0f116

Browse files
committed
fix: query on demand, loading indicator always active.
1 parent f979565 commit db0f116

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gatsby/cache-dir/loading-indicator/indicator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export function Indicator({ visible = true }) {
4242
<Style />
4343
<div
4444
data-gatsby-loading-indicator="root"
45-
data-gatsby-loading-indicator-visible={visible}
45+
// preact doesn't render attributes with a literal bool false value
46+
data-gatsby-loading-indicator-visible={visible.toString()}
4647
aria-live="assertive"
4748
>
4849
<div data-gatsby-loading-indicator="spinner" aria-hidden="true">

0 commit comments

Comments
 (0)