summaryrefslogtreecommitdiff
path: root/examples/snowpack/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/snowpack/src')
-rw-r--r--examples/snowpack/src/components/PluginSearchPage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/snowpack/src/components/PluginSearchPage.jsx b/examples/snowpack/src/components/PluginSearchPage.jsx
index 4ed46cb74..4bf9a0f82 100644
--- a/examples/snowpack/src/components/PluginSearchPage.jsx
+++ b/examples/snowpack/src/components/PluginSearchPage.jsx
@@ -117,7 +117,7 @@ function PluginSearchPageLive() {
}
export default function PluginSearchPage(props) {
- return import.meta.env.astro ? (
+ return import.meta.env.SSR ? (
<div>Loading...</div>
) : (
<PluginSearchPageLive {...props} />