mirror of https://github.com/AlphaNecron/Void.git
16 lines
369 B
TypeScript
16 lines
369 B
TypeScript
import React from 'react';
|
|
import Layout from 'components/Layout';
|
|
import useLogin from 'lib/hooks/useLogin';
|
|
import UserPage from 'components/pages/Users';
|
|
|
|
export default function Users() {
|
|
const { user, isLoading } = useLogin();
|
|
if (isLoading) return null;
|
|
return (
|
|
<Layout user={user} id={3}>
|
|
<UserPage/>
|
|
</Layout>
|
|
);
|
|
}
|
|
|
|
Users.title = 'Users'; |