Skip to content

Commit 906c826

Browse files
committed
chore: update query n add p tag
1 parent d3c72cd commit 906c826

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/pages/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const IndexPage = () => {
99
const data = useStaticQuery(graphql`
1010
query {
1111
nocodb {
12-
indexList(condition: { key: { eq: "title" } }) {
12+
fooList {
13+
id
1314
en
14-
key
1515
zh
16-
id
16+
ko
1717
}
1818
}
1919
}
@@ -22,8 +22,7 @@ const IndexPage = () => {
2222
<main>
2323
<Layout>
2424
{t('welcome')}
25-
<br />
26-
{data.nocodb.indexList[0][i18n.language]}
25+
<p>{data.nocodb.fooList[0][i18n.language]}</p>
2726
</Layout>
2827
</main>
2928
);

0 commit comments

Comments
 (0)