refactor(site): restore TypeScript checking in production builds (#2457)

This commit is contained in:
user01010111
2026-09-30 03:35:47 +13:00
committed by GitHub
parent 0484c54919
commit 4422be717c
9 changed files with 23 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
import { useLingui as useLinguiContext } from "@lingui/react"
import { Trans, useLingui } from "@lingui/react/macro"
import { useStore } from "@nanostores/react"
import { subscribeKeys } from "nanostores"
@@ -457,7 +458,7 @@ const AllSystemsTable = memo(
)
function SystemsTableHead({ table }: { table: TableType<SystemRecord> }) {
const { t } = useLingui()
useLinguiContext()
return (
<TableHeader className="sticky top-0 z-50 w-full border-b-2">
{table.getHeaderGroups().map((headerGroup) => (