f628a6c3d6
Signed-off-by: Ajay Bura <ajbura@gmail.com>
12 lines
273 B
JavaScript
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;
|