cinny/src/app/pages/App.jsx
Ajay Bura f628a6c3d6 Updated dependencies
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-19 13:20:34 +05:30

12 lines
273 B
JavaScript

import React from 'react';
import { isAuthenticated } from '../../client/state/auth';
import Auth from '../templates/auth/Auth';
import Client from '../templates/client/Client';
function App() {
return isAuthenticated() ? <Client /> : <Auth />;
}
export default App;