feat: fill pages
All checks were successful
Publish Docker Images / build-and-publish (push) Successful in 10m25s
All checks were successful
Publish Docker Images / build-and-publish (push) Successful in 10m25s
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export const useBackend = () => {
|
||||
const api = useApi();
|
||||
|
||||
const getMeta = (options = {}) => api.get('/meta', options);
|
||||
const postContact = (contact: ContactRequest, options = {}) =>
|
||||
api.post('/contact', contact, options);
|
||||
return { getMeta, postContact };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user