Skip to content

Commit 4dd0ba4

Browse files
committed
temp fix build issue
1 parent 732061a commit 4dd0ba4

File tree

1 file changed

+13
-13
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/charts/components

1 file changed

+13
-13
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/charts/components/ChartsImage.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,12 @@ const ChartsImage: React.FC<ImageProps> = ({
206206

207207
const onDrop = React.useCallback(
208208
(_dropFiles: File[], acceptedFiles: File[]) => {
209-
mutate({
210-
data: {
211-
id: imageId,
212-
image: acceptedFiles[0],
213-
},
214-
});
209+
// mutate({
210+
// data: {
211+
// id: imageId,
212+
// image: acceptedFiles[0],
213+
// },
214+
// });
215215
{
216216
refetch();
217217
listrefetch();
@@ -224,13 +224,13 @@ const ChartsImage: React.FC<ImageProps> = ({
224224
if (JSON.stringify(formData) !== JSON.stringify(previousFormData)) {
225225
setPreviousFormData(updatedData);
226226

227-
mutate({
228-
data: {
229-
id: imageId,
230-
name: updatedData.name,
231-
description: updatedData.description,
232-
},
233-
});
227+
// mutate({
228+
// data: {
229+
// id: imageId,
230+
// name: updatedData.name,
231+
// description: updatedData.description,
232+
// },
233+
// });
234234
}
235235
};
236236

0 commit comments

Comments
 (0)