Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 2f5d5ae

Browse files
committed
Changing welcome page message
1 parent 38ede95 commit 2f5d5ae

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/App.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ const App = () => {
5656
<div className="content">
5757
<Router>
5858
<Challenges path="/earn/find/challenges" />
59-
<AuthDemo path="/earn/find" />
60-
<AuthDemo path="/earn/auth" />
6159
<NoSidebarDemo path="/earn" />
6260
</Router>
6361
</div>

src/components/NoSidebarDemo/index.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,7 @@ const NoSidebarDemo = () => {
2020

2121
return (
2222
<>
23-
<h2>Sidebar</h2>
24-
<div>Enable/disable sidebar for routes that match:</div>
25-
<pre>{COMPONENT_ROUTE}</pre>
26-
<div>
27-
<button onClick={() => enableSidebarForRoute(COMPONENT_ROUTE)}>
28-
Enable
29-
</button>
30-
<button onClick={() => disableSidebarForRoute(COMPONENT_ROUTE)}>
31-
Disable
32-
</button>
33-
</div>
23+
<h2>Welcome!</h2>
3424
</>
3525
);
3626
};

0 commit comments

Comments
 (0)