Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bodysch-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
DevTeam
org
BodySCH
bodysch-frontend
Commits
263c3728
Commit
263c3728
authored
4 years ago
by
Chif Gergő
Browse files
Options
Downloads
Patches
Plain Diff
Add theme provider to App.ts
parent
ca702271
No related branches found
No related tags found
3 merge requests
!19
fix type imports
,
!10
Add theme
,
!8
Refactor structure
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/App.tsx
+6
-3
6 additions, 3 deletions
src/App.tsx
with
6 additions
and
3 deletions
src/App.tsx
+
6
−
3
View file @
263c3728
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
BrowserRouter
as
Router
}
from
'
react-router-dom
'
;
import
{
BrowserRouter
as
Router
}
from
'
react-router-dom
'
;
import
{
ClientContextProvider
}
from
'
./context
'
;
import
{
ClientContextProvider
}
from
'
./context
'
;
import
ThemeProvider
from
'
./context/ThemeProvider
'
;
import
{
UserStateProvider
}
from
'
./context/UserContext
'
;
import
{
UserStateProvider
}
from
'
./context/UserContext
'
;
import
Routes
from
'
./Routes
'
;
import
Routes
from
'
./Routes
'
;
...
@@ -8,9 +9,11 @@ function App(): React.ReactElement {
...
@@ -8,9 +9,11 @@ function App(): React.ReactElement {
return
(
return
(
<
ClientContextProvider
>
<
ClientContextProvider
>
<
UserStateProvider
>
<
UserStateProvider
>
<
Router
>
<
ThemeProvider
>
<
Routes
/>
<
Router
>
</
Router
>
<
Routes
/>
</
Router
>
</
ThemeProvider
>
</
UserStateProvider
>
</
UserStateProvider
>
</
ClientContextProvider
>
</
ClientContextProvider
>
);
);
...
...
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