mirror of
https://github.com/morten-olsen/parcel.git
synced 2026-02-08 01:36:24 +01:00
Updates
This commit is contained in:
@@ -5,8 +5,10 @@ import {
|
||||
Route,
|
||||
} from 'react-router-dom';
|
||||
|
||||
import Intro from './screens/Intro';
|
||||
import Encrypt from './screens/Encrypt';
|
||||
import Decrypt from './screens/Decrypt';
|
||||
import SetupKey from './screens/SetupKey';
|
||||
import Welcome from './screens/Welcome';
|
||||
import Debug from './screens/Debug';
|
||||
|
||||
@@ -19,12 +21,18 @@ const AppRouter: React.FC = () => (
|
||||
<Route path="/welcome">
|
||||
<Welcome />
|
||||
</Route>
|
||||
<Route path="/decrypt">
|
||||
<Route path="/key">
|
||||
<SetupKey />
|
||||
</Route>
|
||||
<Route path="/receive">
|
||||
<Decrypt />
|
||||
</Route>
|
||||
<Route path="/">
|
||||
<Route path="/send">
|
||||
<Encrypt />
|
||||
</Route>
|
||||
<Route path="/">
|
||||
<Intro />
|
||||
</Route>
|
||||
</Switch>
|
||||
</Router>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user