more strings extractions (#963)

This commit is contained in:
Mihai C authored and GitHub committed 2021-10-15 10:53:42 +00:00
1 parent e1f4ba06d8
commit c4e2b6b458
20 files changed
+201 -112

No files matched your search

+6 -3
View File
@@ -1,19 +1,22 @@
import React from "react";
import { useLocale } from "@lib/hooks/useLocale";
import NavTabs from "./NavTabs";
export default function BookingsShell({ children }: { children: React.ReactNode }) {
const { t } = useLocale();
const tabs = [
{
name: "Upcoming",
name: t("upcoming"),
href: "/bookings/upcoming",
},
{
name: "Past",
name: t("past"),
href: "/bookings/past",
},
{
name: "Cancelled",
name: t("cancelled"),
href: "/bookings/cancelled",
},
];