samling 0.13.1

App for managing apparel collections
Documentation
1
2
3
4
5
6
7
8
9
10
11
import { Navigate } from "react-router-dom";
import { defaultLocale } from "../i18n";

interface LocaleNavigateProps {
  to: string;
}

export default function LocaleNavigate(props: LocaleNavigateProps) {
  const to = `/${defaultLocale}${props.to}`;
  return <Navigate replace to={to} />;
}