🔨
This commit is contained in:
@@ -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,4 +1,4 @@
|
||||
import React, { FormEvent, useState } from 'react'
|
||||
import { FormEvent, useState } from 'react'
|
||||
import { useUserContext } from '../contexts/UserContext'
|
||||
|
||||
export const Login = () => {
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user