mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-13 08:15:06 +01:00
rename
This commit is contained in:
parent
9d796108a5
commit
df89bda66a
@ -45,7 +45,7 @@ function SortableItem(props: { id: string }) {
|
||||
);
|
||||
}
|
||||
|
||||
export function DraggableList(props: {
|
||||
export function SortableList(props: {
|
||||
items: string[];
|
||||
setItems: (items: string[]) => void;
|
||||
}) {
|
||||
|
@ -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")}
|
||||
</p>
|
||||
|
||||
<DraggableList
|
||||
<SortableList
|
||||
items={props.sourceOrder}
|
||||
setItems={props.setSourceOrder}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user