undo bug fix

This commit is contained in:
Irtiza-h30
2020-07-24 16:06:35 -04:00
parent bd6ca6b60f
commit 0a87a80a80

View File

@@ -43,7 +43,6 @@ const Firmware = () => {
data: firmwareModelData,
error: firmwareModelError,
loading: firmwareModelLoading,
refetch: refetchFirmwareModels,
} = useQuery(GET_ALL_FIRMWARE_MODELS);
const [updateTrackAssignment] = useMutation(UPDATE_TRACK_ASSIGNMENT);
@@ -152,7 +151,6 @@ const Firmware = () => {
})
.then(() => {
refetch();
refetchFirmwareModels();
notification.success({
message: 'Success',
description: 'Firmware version successfully created.',
@@ -194,7 +192,6 @@ const Firmware = () => {
})
.then(() => {
refetch();
refetchFirmwareModels();
notification.success({
message: 'Success',
description: 'Firmware version successfully updated.',
@@ -216,7 +213,6 @@ const Firmware = () => {
})
.then(() => {
refetch();
refetchFirmwareModels();
notification.success({
message: 'Success',
description: 'Firmware version successfully deleted.',