Skip to content

Commit

Permalink
Just use null for resource default state
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcorvidae committed Oct 11, 2024
1 parent 712bc81 commit a304e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/instantlaunches/launch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);

Expand Down

0 comments on commit a304e67

Please sign in to comment.