mirror of
https://github.com/WDI-Ideas/rubix-admin-panel.git
synced 2026-04-27 17:25:51 +00:00
update
This commit is contained in:
@@ -26,7 +26,7 @@ const DataTable = ({ data, isLoading, tableHeadRow, emptyMessage }) => {
|
||||
? Array.from({ length: 12 }).map((_, index) => (
|
||||
<Tr key={index}>
|
||||
{tableHeadRow.map((_, i) => (
|
||||
<Td key={i} style={{ whiteSpace: "nowrap", textOverflow: "ellipsis" }} className="web-text-small" w={columnWidth}>
|
||||
<Td key={i} style={{ whiteSpace: "nowrap", textOverflow: "ellipsis" }} className="web-text-small" w={"100%"}>
|
||||
<Skeleton height="20px" mb={1} mt={1} />
|
||||
</Td>
|
||||
))}
|
||||
|
||||
@@ -34,7 +34,6 @@ const AddEvents = () => {
|
||||
const [selectedImage, setSelectedImage] = useState(fallbackImage);
|
||||
const [largeImageData, setLargeImageData] = useState(null);
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
|
||||
const [eventDatesInput, setEventsDatesInputs] = useState([]);
|
||||
|
||||
|
||||
|
||||
@@ -62,8 +62,7 @@ const EditTerms = () => {
|
||||
banner_image: null,
|
||||
},
|
||||
});
|
||||
|
||||
// console.log("----------", data?.data?.banner_image);
|
||||
|
||||
|
||||
const termContent = data?.data;
|
||||
// // console.log(termContent);
|
||||
|
||||
@@ -73,6 +73,7 @@ export const rubixApi = createApi({
|
||||
}),
|
||||
invalidatesTags: ["getCommunity"],
|
||||
}),
|
||||
|
||||
updateCommunity: builder.mutation({
|
||||
query: ({ id, data }) => ({
|
||||
url: `/admin/community/${id}`,
|
||||
|
||||
Reference in New Issue
Block a user