main
parent
a891fa6a50
commit
0185aa5eec
10 changed files with 22 additions and 48 deletions
@ -1,4 +1,4 @@ |
||||
import { User } from '../types' |
||||
import { User } from '../../types' |
||||
|
||||
export const mockUser: User = { |
||||
username: 'TestUser42', |
@ -1,8 +1,3 @@ |
||||
import React from 'react' |
||||
import { RouteChildrenProps } from 'react-router' |
||||
|
||||
type Props = RouteChildrenProps & {} |
||||
|
||||
export const Dashboard = (_: Props) => { |
||||
export const Dashboard = () => { |
||||
return <p>a dashboard</p> |
||||
} |
||||
|
@ -1,7 +1,3 @@ |
||||
import React from 'react' |
||||
|
||||
type Props = {} |
||||
|
||||
export const Profile = (props: Props) => { |
||||
export const Profile = () => { |
||||
return <p>Look, A user profile!</p> |
||||
} |
||||
|
Loading…
Reference in new issue