1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Rename to Component

This commit is contained in:
viown 2025-02-17 21:29:55 +03:00
parent cb8940a512
commit e80cbdc094

View file

@ -1,4 +1,4 @@
import React, { type FC } from 'react';
import React from 'react';
import globalize from 'lib/globalize';
import { type ActionFunctionArgs, Form, useActionData, useNavigation } from 'react-router-dom';
@ -55,7 +55,7 @@ export const action = async ({ request }: ActionFunctionArgs) => {
};
};
const PlaybackTrickplay: FC = () => {
export const Component = () => {
const navigation = useNavigation();
const actionData = useActionData() as ActionData | undefined;
const { data: defaultConfig, isPending } = useConfiguration();
@ -251,4 +251,4 @@ const PlaybackTrickplay: FC = () => {
);
};
export default PlaybackTrickplay;
Component.displayName = 'TrickplayPage';