mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Avoid bogus build warning about unused variable
This commit is contained in:
@@ -5,7 +5,7 @@ import { Home } from './components/Home';
|
||||
import { FetchData } from './components/FetchData';
|
||||
import { Counter } from './components/Counter';
|
||||
|
||||
export const routes = <Route component={ Layout }>
|
||||
export default <Route component={ Layout }>
|
||||
<Route path='/' components={{ body: Home }} />
|
||||
<Route path='/counter' components={{ body: Counter }} />
|
||||
<Route path='/fetchdata' components={{ body: FetchData }} />
|
||||
|
||||
Reference in New Issue
Block a user