diff --git a/client/auth/loginWithGoogle.js b/client/auth/loginWithGoogle.js index d85973b..9e5ca86 100644 --- a/client/auth/loginWithGoogle.js +++ b/client/auth/loginWithGoogle.js @@ -83,7 +83,7 @@ module.exports = async function loginWithGoogle({ username, database, clientId, callback: handleCredentialResponse, }); - google.accounts.id.renderButton(document.getElementById("google-identity-button"), { + google.accounts.id.renderButton(element, { theme: "outline", size: "large", logo_alignment: "center", diff --git a/package.json b/package.json index 33f0f97..8aeaa7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.38", + "version": "1.1.39", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {