misc_pterodactyl-panel/resources/scripts/components/admin/users/UserServers.tsx
2021-09-12 17:00:22 -06:00

13 lines
369 B
TypeScript

import React from 'react';
import ServersTable from '@/components/admin/servers/ServersTable';
import { Context } from '@/components/admin/users/UserRouter';
function UserServers () {
const user = Context.useStoreState(state => state.user);
return (
<ServersTable filters={{ owner_id: user?.id?.toString?.() }}/>
);
}
export default UserServers;