Skip to content
Snippets Groups Projects
Commit 605a0281 authored by Loïc Poullain's avatar Loïc Poullain
Browse files

Move context functions from JS to TS

parent 23a4d437
Branches
No related tags found
1 merge request!118Convertir les fichiers JS restants en TS (et supprimer JSS)
File moved
......@@ -5,7 +5,7 @@ function hasPageContext(state) {
return !isEmpty(state) && state.pageContext;
}
function pageContext(state = {}, { callback }) {
function pageContext(state: any = {}, { callback }: any) {
if (!callback) {
return state;
}
......
......@@ -11,7 +11,6 @@ const theme = createMuiTheme({
h1: {
fontFamily: "Lato",
fontSize: "36px",
fontWeight: "light",
textTransform: "uppercase",
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment