mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-17 16:00:16 -07:00
18 lines
472 B
TypeScript
18 lines
472 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
/* eslint react/jsx-props-no-spreading: off */
|
|
import React from 'react';
|
|
import { Switch, Route } from 'react-router-dom';
|
|
import routes from './constants/routes.json';
|
|
import App from './containers/App';
|
|
import HomePage from './containers/HomePage';
|
|
|
|
export default function Routes() {
|
|
return (
|
|
<App>
|
|
<Switch>
|
|
<Route path={routes.HOME} component={HomePage} />
|
|
</Switch>
|
|
</App>
|
|
);
|
|
}
|