This commit is contained in:
2024-07-23 17:06:00 +05:30
parent 4e32ad6a87
commit a808eec19f
4 changed files with 3 additions and 4 deletions

View File

@@ -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>
))}

View File

@@ -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([]);

View File

@@ -62,8 +62,7 @@ const EditTerms = () => {
banner_image: null,
},
});
// console.log("----------", data?.data?.banner_image);
const termContent = data?.data;
// // console.log(termContent);

View File

@@ -73,6 +73,7 @@ export const rubixApi = createApi({
}),
invalidatesTags: ["getCommunity"],
}),
updateCommunity: builder.mutation({
query: ({ id, data }) => ({
url: `/admin/community/${id}`,