diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pages/ManageAds.jsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pages/ManageAds.jsx b/src/pages/ManageAds.jsx index 8f72d0f..cceca06 100644 --- a/src/pages/ManageAds.jsx +++ b/src/pages/ManageAds.jsx @@ -1,6 +1,5 @@ import React, { useState, useEffect } from 'react'; import AdCard from '../components/AdCard'; -import AdForm from '../components/AdForm'; import UploadForm from '../components/UploadForm'; import ViewAds from '../components/ViewAds'; import { fetchAds, addAd } from '../utils/api'; @@ -34,7 +33,6 @@ const ManageAds = () => { return ( <div> <h1>Manage Ads</h1> - <AdForm onAddAd={handleAddAd} /> <UploadForm onUploadComplete={handleUploadComplete} /> <button onClick={toggleViewAds}> {showUploadedAds ? 'Hide Uploaded Ads' : 'View Uploaded Ads'} |