2021-08-02 15:54:13 +00:00
|
|
|
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 (
|
2021-09-12 23:00:22 +00:00
|
|
|
<ServersTable filters={{ owner_id: user?.id?.toString?.() }}/>
|
2021-08-02 15:54:13 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default UserServers;
|