File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const metadata: Metadata = {
1818 description : "Generated by create next app" ,
1919} ;
2020
21- export default async function RootLayout ( {
21+ export default function RootLayout ( {
2222 children,
2323} : Readonly < {
2424 children : React . ReactNode ;
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export default function Home() {
1515 </ >
1616 ) ;
1717
18+ const something = { cool : "cool" , translatedCool : < > translated cool</ > } ;
19+
1820 return (
1921 < main className = "flex w-full min-h-screen flex-col items-center bg-white dark:bg-black sm:items-start" >
2022 < header className = "flex justify-between p-10 w-full" >
@@ -57,6 +59,10 @@ export default function Home() {
5759 { translatableText }
5860 { "</>" }
5961 </ div >
62+ < div >
63+ What happens if I use a property { something . cool } and{ " " }
64+ { something . translatedCool }
65+ </ div >
6066 < div >
6167 Text external to the component is not translated: { externalText }
6268 </ div >
You can’t perform that action at this time.
0 commit comments