From df89bda66a28d1063f24874726bd7d7c52b4f82e Mon Sep 17 00:00:00 2001
From: Jorrin
Date: Mon, 15 Apr 2024 16:52:50 +0200
Subject: [PATCH] rename
---
src/components/form/SortableList.tsx | 2 +-
src/pages/parts/settings/PreferencesPart.tsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/form/SortableList.tsx b/src/components/form/SortableList.tsx
index 90c8fd94..27975bd1 100644
--- a/src/components/form/SortableList.tsx
+++ b/src/components/form/SortableList.tsx
@@ -45,7 +45,7 @@ function SortableItem(props: { id: string }) {
);
}
-export function DraggableList(props: {
+export function SortableList(props: {
items: string[];
setItems: (items: string[]) => void;
}) {
diff --git a/src/pages/parts/settings/PreferencesPart.tsx b/src/pages/parts/settings/PreferencesPart.tsx
index 2dab46b9..1afef469 100644
--- a/src/pages/parts/settings/PreferencesPart.tsx
+++ b/src/pages/parts/settings/PreferencesPart.tsx
@@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
import { Toggle } from "@/components/buttons/Toggle";
import { FlagIcon } from "@/components/FlagIcon";
import { Dropdown } from "@/components/form/Dropdown";
-import { DraggableList } from "@/components/form/SortableList";
+import { SortableList } from "@/components/form/SortableList";
import { Heading1 } from "@/components/utils/Text";
import { appLanguageOptions } from "@/setup/i18n";
import { isAutoplayAllowed } from "@/utils/autoplay";
@@ -106,7 +106,7 @@ export function PreferencesPart(props: {
{t("settings.preferences.sourceOrderDescription")}
-