Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TDDD27_2024
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marc Taylor
TDDD27_2024
Merge requests
!17
Rm unnecessary
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rm unnecessary
rm-unnecessary
into
main
Overview
0
Commits
2
Pipelines
0
Changes
6
Merged
Marc Taylor
requested to merge
rm-unnecessary
into
main
9 months ago
Overview
0
Commits
2
Pipelines
0
Changes
6
Expand
Final touch to the project and cleaned up some non used code.
0
0
Merge request reports
Viewing commit
d8241407
Prev
Next
Show latest version
6 files
+
11
−
128
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
d8241407
rm not used parts
· d8241407
Marc Taylor
authored
9 months ago
theme-costume-app/src/App.js
+
0
−
9
Options
import
React
,
{
useState
}
from
'
react
'
;
import
{
BrowserRouter
as
Router
,
Route
,
Routes
,
Link
}
from
'
react-router-dom
'
;
import
Home
from
'
./Home
'
;
import
About
from
'
./About
'
;
import
Profile
from
'
./Profile
'
;
import
Charts
from
'
./Charts
'
;
import
Dashboard
from
'
./Dashboard
'
;
import
Login
from
'
./Login
'
;
import
ResponsiveAppBar
from
'
./components/ResponsiveAppBar
'
;
import
CategoriesPage
from
'
./CategoriesPage
'
;
@@ -30,15 +27,9 @@ function App() {
<
ResponsiveAppBar
cartItems
=
{[]}
/
>
<
Routes
>
<
Route
exact
path
=
"
/
"
Component
=
{
Home
}
/
>
<
Route
path
=
"
/about
"
Component
=
{
About
}
/>
<
Route
path
=
"
/profile
"
element
=
{
<
Profile
user
=
{
user
}
onSignup
=
{
handleSignup
}
/>} /
>
<
Route
path
=
"
/about
"
Component
=
{
Home
}
/
>
<
Route
path
=
"
/Charts
"
Component
=
{
Charts
}
/
>
<
Route
path
=
"
/
"
element
=
{
<
Home
/>
}
/
>
<
Route
path
=
"
/news
"
element
=
{
<
About
/>
}
/
>
<
Route
path
=
"
/Topplistan
"
element
=
{
<
Charts
/>
}
/
>
<
Route
path
=
"
/Categories
"
element
=
{
<
CategoriesPage
/>
}
/
>
<
Route
path
=
"
/dashboard
"
element
=
{
<
Dashboard
/>
}
/
>
<
Route
path
=
"
/login
"
element
=
{
<
Login
/>
}
/
>
<
Route
path
=
"
/cart
"
element
=
{
<
Cart
/>
}
/
>
<
/Routes>
Loading