diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-07-27 20:51:02 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-07-27 20:51:02 +0530 |
commit | fd87e69fd6972fc3f6adea5fbfbd5e4944cf4a9e (patch) | |
tree | 914019c277dbc3ff6be407750ab90a676d15e70b /src | |
parent | faa14c5db0cde222685014cb58f851ae443427c2 (diff) | |
download | admin-panel-fd87e69fd6972fc3f6adea5fbfbd5e4944cf4a9e.tar.gz admin-panel-fd87e69fd6972fc3f6adea5fbfbd5e4944cf4a9e.tar.bz2 admin-panel-fd87e69fd6972fc3f6adea5fbfbd5e4944cf4a9e.zip |
remove the AdForm
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'} |