mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
rename
This commit is contained in:
parent
9d796108a5
commit
df89bda66a
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue