bug with ts
This commit is contained in:
1 parent
8a7e43a6b2
commit
7c513ffb26
4 files changed
+7
-5
No files matched your search
+2
-2
@@ -893,7 +893,7 @@ const mailgoStyle = (): void => {
|
||||
};
|
||||
|
||||
// mailgo
|
||||
const mailgo = (mailgoConfig?: MailgoConfig): void => {
|
||||
function mailgo(mailgoConfig?: MailgoConfig) {
|
||||
// if the window is defined...
|
||||
if (window && typeof window !== "undefined") {
|
||||
// add the style for mailgo
|
||||
@@ -908,6 +908,6 @@ const mailgo = (mailgoConfig?: MailgoConfig): void => {
|
||||
mailgoInit(mailgoConfig);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default mailgo;
|
||||
Reference in new issue
Block a user