Skip to content

🎥 Make videos programmatically with React

rm logs & comments

Patric Salvisberg933cdc0a4cfa
diff --git a/packages/cli/src/editor/components/RenderQueue/actions.ts b/packages/cli/src/editor/components/RenderQueue/actions.ts
index e57b139a2a..ef98c2c25f 100644
--- a/packages/cli/src/editor/components/RenderQueue/actions.ts
+++ b/packages/cli/src/editor/components/RenderQueue/actions.ts
@@ -243,7 +243,6 @@ export const cancelRenderJob = (job: RenderJob) => {
};
export const updateAvailable = (signal: AbortSignal) => {
- console.log('calling updateAvailable');
return callApi('/api/update-available', {}, signal);
};
diff --git a/packages/cli/src/editor/components/UpdateCheck.tsx b/packages/cli/src/editor/components/UpdateCheck.tsx
index 9aab37280c..852822ae27 100644
--- a/packages/cli/src/editor/components/UpdateCheck.tsx
+++ b/packages/cli/src/editor/components/UpdateCheck.tsx
@@ -98,13 +98,13 @@ export const UpdateCheck = () => {
};
}, [hasKnownBugs]);
- // if (!info) {
- // return null;
- // }
+ if (!info) {
+ return null;
+ }
- // if (!info.updateAvailable) {
- // return null;
- // }
+ if (!info.updateAvailable) {
+ return null;
+ }
return (
<button