Removing test junk
This commit is contained in:
@ -8,6 +8,3 @@ export const APIRequest = (url:string, body?:object) => {
|
||||
}
|
||||
}).then(e => e.json());
|
||||
}
|
||||
|
||||
|
||||
(globalThis as any)['APIRequest'] = APIRequest;
|
@ -3,6 +3,3 @@ import { APIRequest } from "./APIRequest";
|
||||
export const sendMail = (name:string, email:string, message:string) => APIRequest('mail/send', {
|
||||
name, email, message
|
||||
}).then(e => e.body);
|
||||
|
||||
///@ts-ginore
|
||||
(globalThis as any)['sendMail' as any] = sendMail as any;
|
Reference in New Issue
Block a user