From 60bc41e38225c4b786798cf1ffa5d87432168e28 Mon Sep 17 00:00:00 2001 From: Frank Noirot Date: Wed, 18 Oct 2023 21:52:22 -0400 Subject: [PATCH] Conditionally render gLTF --- src/components/ModelViewer.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ModelViewer.svelte b/src/components/ModelViewer.svelte index 0fd3422..fd44ab0 100644 --- a/src/components/ModelViewer.svelte +++ b/src/components/ModelViewer.svelte @@ -18,7 +18,9 @@ - + {#if model} + + {/if}