From 9f24429820c30575aee39319c30bb09cec61cc83 Mon Sep 17 00:00:00 2001 From: mkljczk Date: Thu, 5 Dec 2024 10:19:37 +0100 Subject: [PATCH] pl-fe: move moar stuff around Signed-off-by: mkljczk --- packages/pl-fe/src/features/interaction-policies/index.tsx | 2 +- .../{api/hooks => queries}/settings/use-interaction-policies.ts | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/pl-fe/src/{api/hooks => queries}/settings/use-interaction-policies.ts (100%) diff --git a/packages/pl-fe/src/features/interaction-policies/index.tsx b/packages/pl-fe/src/features/interaction-policies/index.tsx index 398a2817c..1fc672ee9 100644 --- a/packages/pl-fe/src/features/interaction-policies/index.tsx +++ b/packages/pl-fe/src/features/interaction-policies/index.tsx @@ -1,7 +1,6 @@ import React, { useEffect, useState } from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; -import { useInteractionPolicies } from 'pl-fe/api/hooks/settings/use-interaction-policies'; import List, { ListItem } from 'pl-fe/components/list'; import Button from 'pl-fe/components/ui/button'; import { CardTitle } from 'pl-fe/components/ui/card'; @@ -10,6 +9,7 @@ import Form from 'pl-fe/components/ui/form'; import FormActions from 'pl-fe/components/ui/form-actions'; import { InlineMultiselect } from 'pl-fe/components/ui/inline-multiselect'; import Tabs from 'pl-fe/components/ui/tabs'; +import { useInteractionPolicies } from 'pl-fe/queries/settings/use-interaction-policies'; import toast from 'pl-fe/toast'; import Warning from '../compose/components/warning'; diff --git a/packages/pl-fe/src/api/hooks/settings/use-interaction-policies.ts b/packages/pl-fe/src/queries/settings/use-interaction-policies.ts similarity index 100% rename from packages/pl-fe/src/api/hooks/settings/use-interaction-policies.ts rename to packages/pl-fe/src/queries/settings/use-interaction-policies.ts