mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 10:31:48 +01:00
fix modal routing
This commit is contained in:
parent
01f46ce23c
commit
12f7f2ee03
@ -83,7 +83,9 @@ export function CaptionSelectionPopout(props: {
|
||||
action={
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => props.router.navigate("/caption-settings")}
|
||||
onClick={() =>
|
||||
props.router.navigate(`${props.prefix}/caption-settings`)
|
||||
}
|
||||
className="flex cursor-pointer items-center space-x-2 transition-colors duration-200 hover:text-white"
|
||||
>
|
||||
<span>{t("videoPlayer.popouts.captionPreferences.title")}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user