Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
leximpact-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur dotations aux communes
leximpact-client
Commits
605a0281
Commit
605a0281
authored
4 years ago
by
Loïc Poullain
Browse files
Options
Downloads
Patches
Plain Diff
Move context functions from JS to TS
parent
23a4d437
Branches
Branches containing commit
No related tags found
1 merge request
!118
Convertir les fichiers JS restants en TS (et supprimer JSS)
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/createPageContext.ts
+0
-0
0 additions, 0 deletions
lib/createPageContext.ts
lib/getPageContext.ts
+1
-1
1 addition, 1 deletion
lib/getPageContext.ts
styles/theme.ts
+0
-1
0 additions, 1 deletion
styles/theme.ts
with
1 addition
and
2 deletions
lib/createPageContext.
j
s
→
lib/createPageContext.
t
s
+
0
−
0
View file @
605a0281
File moved
This diff is collapsed.
Click to expand it.
lib/getPageContext.
j
s
→
lib/getPageContext.
t
s
+
1
−
1
View file @
605a0281
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
styles/theme.
j
s
→
styles/theme.
t
s
+
0
−
1
View file @
605a0281
...
...
@@ -11,7 +11,6 @@ const theme = createMuiTheme({
h1
:
{
fontFamily
:
"
Lato
"
,
fontSize
:
"
36px
"
,
fontWeight
:
"
light
"
,
textTransform
:
"
uppercase
"
,
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment