import AdminNav from '~/components/AdminNav';
import React, { useEffect, useState } from 'react';
import ModuleList from '~/components/ModuleList';
import NewModule from '~/components/NewModule';


export default function AdminIndex(){
    return (
        <div>
            <AdminNav />
            <NewModule />
            <div>
                <ModuleList />
            </div>            
        </div>
    );
}