Skip to content

Commit

Permalink
react-byob
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed May 23, 2024
1 parent d99f07b commit b1c3dab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions integration-tests/js-compute/fixtures/app/src/react-byob.js
Original file line number Diff line number Diff line change
Expand Up @@ -2106,11 +2106,12 @@ routes.set("/react-byob", async () => {
});

function App() {
return q("html", {
children: [q("title", {
const qq = typeof jsx !== 'undefined' ? jsx : q;
return qq("html", {
children: [qq("title", {
children: "My app"
}), q("body", {
children: q("h1", {
}), qq("body", {
children: qq("h1", {
children: "App"
})
})]
Expand Down

0 comments on commit b1c3dab

Please sign in to comment.