mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-04 16:47: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[];
|
items: string[];
|
||||||
setItems: (items: string[]) => void;
|
setItems: (items: string[]) => void;
|
||||||
}) {
|
}) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
|
||||||
import { Toggle } from "@/components/buttons/Toggle";
|
import { Toggle } from "@/components/buttons/Toggle";
|
||||||
import { FlagIcon } from "@/components/FlagIcon";
|
import { FlagIcon } from "@/components/FlagIcon";
|
||||||
import { Dropdown } from "@/components/form/Dropdown";
|
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 { Heading1 } from "@/components/utils/Text";
|
||||||
import { appLanguageOptions } from "@/setup/i18n";
|
import { appLanguageOptions } from "@/setup/i18n";
|
||||||
import { isAutoplayAllowed } from "@/utils/autoplay";
|
import { isAutoplayAllowed } from "@/utils/autoplay";
|
||||||
|
@ -106,7 +106,7 @@ export function PreferencesPart(props: {
|
||||||
{t("settings.preferences.sourceOrderDescription")}
|
{t("settings.preferences.sourceOrderDescription")}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<DraggableList
|
<SortableList
|
||||||
items={props.sourceOrder}
|
items={props.sourceOrder}
|
||||||
setItems={props.setSourceOrder}
|
setItems={props.setSourceOrder}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue