Skip to content

🎥 Make videos programmatically with React

Update template-modal-content.tsx

JonnyBurger9b939bf6dc14
diff --git a/packages/promo-pages/src/components/template-modal-content.tsx b/packages/promo-pages/src/components/template-modal-content.tsx
index e71b86e1ad..089e91ca44 100644
--- a/packages/promo-pages/src/components/template-modal-content.tsx
+++ b/packages/promo-pages/src/components/template-modal-content.tsx
@@ -63,10 +63,9 @@ export const TemplateModalContent: React.FC<{
await navigator.clipboard.writeText(command);
setCopied(command);
}
- } catch (err) {
+ } catch {
// eslint-disable-next-line no-alert
alert('Copying is not supported on this device');
- console.log('Could not copy command', err);
}
copyTimeout = setTimeout(() => {