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

import NewQuestion from '~/components/AddQuestion'
import QuestionList from '~/components/QuestionList'



export default function AdminIndex(){
    return (
        <div>
            <AdminNav />
            <div>
                <NewQuestion />
            </div>   
            <QuestionList />         
        </div>
    );
}