import AdminNav from '~/components/AdminNav';
import React, { useEffect, useState } from 'react';
import QuizList from '~/components/QuizList';
import NewQuiz from '~/components/NewQuiz';


export default function AdminIndex(){
    return (
        <div>
            <AdminNav />
            <NewQuiz />
            <div>
                <QuizList />
            </div>            
        </div>
    );
}