Tambahan Feature Banner
This commit is contained in:
@@ -7,7 +7,7 @@ import { useParams, useRouter } from 'next/navigation';
|
||||
import { useState } from 'react';
|
||||
import { FaFile, FaPencil, FaTrash } from 'react-icons/fa6';
|
||||
|
||||
function ListBanner({ onDeleted }: { onDeleted: (val: boolean) => void }) {
|
||||
function ListBanner() {
|
||||
const tema = useHookstate(TEMA)
|
||||
const [searchQuery, setSearchQuery] = useState('')
|
||||
const [loading, setLoading] = useState(true);
|
||||
@@ -22,6 +22,7 @@ function ListBanner({ onDeleted }: { onDeleted: (val: boolean) => void }) {
|
||||
const [isExtension, setExtension] = useState('')
|
||||
|
||||
|
||||
|
||||
// async function onTrue(val: boolean) {
|
||||
// if (val) {
|
||||
// const response = await funDeleteBanner(param.id)
|
||||
|
||||
Reference in New Issue
Block a user