From 86da8a2007742ab28b612cf3ebc1b536a7fda36b Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Sat, 18 Jan 2025 14:28:46 +0100 Subject: [PATCH] fix: rename delete handlers file --- .../dialogs/utils/{deleteHandles.ts => deleteHandlers.ts} | 0 frontend/src/components/categories/index.tsx | 2 +- frontend/src/components/content-types/index.tsx | 2 +- frontend/src/components/contents/index.tsx | 2 +- frontend/src/components/context-vars/index.tsx | 2 +- frontend/src/components/labels/index.tsx | 2 +- frontend/src/components/languages/index.tsx | 2 +- frontend/src/components/media-library/index.tsx | 2 +- frontend/src/components/nlp/components/NlpEntity.tsx | 2 +- frontend/src/components/nlp/components/NlpSample.tsx | 2 +- frontend/src/components/nlp/components/NlpValues.tsx | 2 +- frontend/src/components/roles/index.tsx | 2 +- frontend/src/components/translations/index.tsx | 2 +- 13 files changed, 12 insertions(+), 12 deletions(-) rename frontend/src/app-components/dialogs/utils/{deleteHandles.ts => deleteHandlers.ts} (100%) diff --git a/frontend/src/app-components/dialogs/utils/deleteHandles.ts b/frontend/src/app-components/dialogs/utils/deleteHandlers.ts similarity index 100% rename from frontend/src/app-components/dialogs/utils/deleteHandles.ts rename to frontend/src/app-components/dialogs/utils/deleteHandlers.ts diff --git a/frontend/src/components/categories/index.tsx b/frontend/src/components/categories/index.tsx index 66ce2089..60740014 100644 --- a/frontend/src/components/categories/index.tsx +++ b/frontend/src/components/categories/index.tsx @@ -13,7 +13,7 @@ import { Button, Grid, Paper } from "@mui/material"; import { GridColDef, GridRowSelectionModel } from "@mui/x-data-grid"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/content-types/index.tsx b/frontend/src/components/content-types/index.tsx index e391fc39..548d51c4 100644 --- a/frontend/src/components/content-types/index.tsx +++ b/frontend/src/components/content-types/index.tsx @@ -12,7 +12,7 @@ import { Button, Grid, Paper } from "@mui/material"; import { useRouter } from "next/router"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/contents/index.tsx b/frontend/src/components/contents/index.tsx index b09738a6..9ba0256b 100644 --- a/frontend/src/components/contents/index.tsx +++ b/frontend/src/components/contents/index.tsx @@ -15,7 +15,7 @@ import Link from "next/link"; import { useRouter } from "next/router"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/context-vars/index.tsx b/frontend/src/components/context-vars/index.tsx index 63279e16..0c0eb7c4 100644 --- a/frontend/src/components/context-vars/index.tsx +++ b/frontend/src/components/context-vars/index.tsx @@ -13,7 +13,7 @@ import { Button, Grid, Paper, Switch } from "@mui/material"; import { GridColDef, GridRowSelectionModel } from "@mui/x-data-grid"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/labels/index.tsx b/frontend/src/components/labels/index.tsx index dcf43de1..441ef423 100644 --- a/frontend/src/components/labels/index.tsx +++ b/frontend/src/components/labels/index.tsx @@ -12,7 +12,7 @@ import { Button, Grid, Paper } from "@mui/material"; import { GridColDef } from "@mui/x-data-grid"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/languages/index.tsx b/frontend/src/components/languages/index.tsx index 02caf5e3..f7016ecb 100644 --- a/frontend/src/components/languages/index.tsx +++ b/frontend/src/components/languages/index.tsx @@ -13,7 +13,7 @@ import { GridColDef } from "@mui/x-data-grid"; import { useQueryClient } from "react-query"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/media-library/index.tsx b/frontend/src/components/media-library/index.tsx index 1e9b88fe..3d67f6d3 100644 --- a/frontend/src/components/media-library/index.tsx +++ b/frontend/src/components/media-library/index.tsx @@ -12,7 +12,7 @@ import { GridColDef, GridEventListener } from "@mui/x-data-grid"; import AttachmentThumbnail from "@/app-components/attachment/AttachmentThumbnail"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/nlp/components/NlpEntity.tsx b/frontend/src/components/nlp/components/NlpEntity.tsx index ca49758f..12ee827e 100644 --- a/frontend/src/components/nlp/components/NlpEntity.tsx +++ b/frontend/src/components/nlp/components/NlpEntity.tsx @@ -13,7 +13,7 @@ import { GridColDef, GridRowSelectionModel } from "@mui/x-data-grid"; import { useRouter } from "next/router"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/nlp/components/NlpSample.tsx b/frontend/src/components/nlp/components/NlpSample.tsx index d5a5f948..58082fb3 100644 --- a/frontend/src/components/nlp/components/NlpSample.tsx +++ b/frontend/src/components/nlp/components/NlpSample.tsx @@ -27,7 +27,7 @@ import { useState } from "react"; import { useQueryClient } from "react-query"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { ChipEntity } from "@/app-components/displays/ChipEntity"; import AutoCompleteEntitySelect from "@/app-components/inputs/AutoCompleteEntitySelect"; import FileUploadButton from "@/app-components/inputs/FileInput"; diff --git a/frontend/src/components/nlp/components/NlpValues.tsx b/frontend/src/components/nlp/components/NlpValues.tsx index 2afc03ae..cf07b34e 100644 --- a/frontend/src/components/nlp/components/NlpValues.tsx +++ b/frontend/src/components/nlp/components/NlpValues.tsx @@ -16,7 +16,7 @@ import { useRouter } from "next/router"; import { useEffect, useState } from "react"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/roles/index.tsx b/frontend/src/components/roles/index.tsx index 8dbd24bf..f1368404 100644 --- a/frontend/src/components/roles/index.tsx +++ b/frontend/src/components/roles/index.tsx @@ -12,7 +12,7 @@ import { Button, Grid, Paper } from "@mui/material"; import { GridColDef } from "@mui/x-data-grid"; import { DeleteDialog } from "@/app-components/dialogs/DeleteDialog"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel, diff --git a/frontend/src/components/translations/index.tsx b/frontend/src/components/translations/index.tsx index 238acb8f..8d84d311 100644 --- a/frontend/src/components/translations/index.tsx +++ b/frontend/src/components/translations/index.tsx @@ -12,7 +12,7 @@ import { Button, Chip, Grid, Paper, Stack } from "@mui/material"; import { GridColDef } from "@mui/x-data-grid"; import { DeleteDialog } from "@/app-components/dialogs"; -import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandles"; +import { deleteCallbackHandler } from "@/app-components/dialogs/utils/deleteHandlers"; import { FilterTextfield } from "@/app-components/inputs/FilterTextfield"; import { ActionColumnLabel,