Skip to content

Commit 55b7d18

Browse files
committed
Fix empty state
1 parent f35ed43 commit 55b7d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-forms/src/GoogleForms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const GoogleForms = ({ formUrl, hostRef }: Props) => {
5252
form.addEventListener('submit', handleFormSubmit);
5353
};
5454

55-
if (!url.includes('google')) {
55+
if (formUrl && formUrl !== '' && !url.includes('google')) {
5656
return (
5757
<div className={styles.instructions}>
5858
<div>

0 commit comments

Comments
 (0)