Skip to content

Commit e78b218

Browse files
committed
fix: mixed object shorthand
1 parent 2a2485d commit e78b218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/site/components/Downloads/Release/VersionDropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ const VersionDropdown: FC = () => {
3838
);
3939

4040
if (release?.status === 'LTS' && pathname.includes('current')) {
41-
redirect({ href: '/download', locale });
41+
redirect({ href: '/download', locale: locale });
4242
return;
4343
}
4444

4545
if (release?.status === 'Current' && !pathname.includes('current')) {
46-
redirect({ href: '/download/current', locale });
46+
redirect({ href: '/download/current', locale: locale });
4747
return;
4848
}
4949

0 commit comments

Comments
 (0)