From a304e6771813b7aac42d06e79257246cbe821a10 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Fri, 11 Oct 2024 10:40:37 -0700 Subject: [PATCH] Just use null for resource default state --- src/components/instantlaunches/launch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/instantlaunches/launch/index.js b/src/components/instantlaunches/launch/index.js index 00d44ecc9..1ae5f7f2a 100644 --- a/src/components/instantlaunches/launch/index.js +++ b/src/components/instantlaunches/launch/index.js @@ -39,7 +39,7 @@ const InstantLaunchStandalone = (props) => { const [computeLimitExceeded, setComputeLimitExceeded] = useState( !!config?.subscriptions?.enforce ); - const [resource, setResource] = useState(!!resource_path ? null : {}); + const [resource, setResource] = useState(null); const { t } = useTranslation(["instantlaunches", "common"]);