Skip to content
Snippets Groups Projects
Commit f27ddcfb authored by Baptiste Hardelin's avatar Baptiste Hardelin
Browse files

Tp finit

parent 12aa1d70
No related branches found
No related tags found
No related merge requests found
import Router from '../Router.js';
import Page from './Page.js';
export default class PizzaForm extends Page {
......@@ -63,6 +64,8 @@ export default class PizzaForm extends Page {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(pizza)
}
).then(
(response) => Router.navigate('/')
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment