diff --git a/src/page/json-grid/index.tsx b/src/page/json-grid/index.tsx index a91d456..bbf7999 100644 --- a/src/page/json-grid/index.tsx +++ b/src/page/json-grid/index.tsx @@ -19,7 +19,7 @@ export default function JsonGrid() { const parsed = JSON.parse(jsonInput) if (!Array.isArray(parsed)) { - return { rows: [] as RowRecord[], columns: [] as string[], error: t("jsonTable.arrayOnlyError") } + return { rows: [] as RowRecord[], columns: [] as string[], error: t("jsonGrid.arrayOnlyError") } } const rows: RowRecord[] = parsed.map((item) => { @@ -36,7 +36,7 @@ export default function JsonGrid() { return { rows: [] as RowRecord[], columns: [] as string[], - error: `${t("jsonTable.parseError")} ${(e as Error).message}`, + error: `${t("jsonGrid.parseError")} ${(e as Error).message}`, } } }, [jsonInput, t]) @@ -81,7 +81,7 @@ export default function JsonGrid() {
- {t("jsonTable.jsonInput")} + {t("jsonGrid.jsonInput")}