Disable "Login with Netlify Identity" button until Netlify identity is initialized

This commit is contained in:
Daniel Lautzenheiser
2023-04-06 12:13:47 -04:00
parent 93d1f50c68
commit 4264218439
7 changed files with 41 additions and 36 deletions

View File

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" async></script>
<title>Static CMS - Git Gateway Development Test</title>
</head>

View File

@ -232,7 +232,6 @@ CMS.registerShortcode('youtube', {
return [src];
},
control: ({ src, onChange, theme }) => {
console.log('[SHORTCUT] shortcut theme', theme);
return h('span', {}, [
h('input', {
key: 'control-input',