Skip to content

Commit

Permalink
Test export
Browse files Browse the repository at this point in the history
  • Loading branch information
qrac committed Jan 15, 2022
1 parent 843f381 commit b4348a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions test/tsx/src/pages/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { render } from "minista"

import { AppLayout } from "../../components/app-layout"

const PageAbout = () => {
export default () => {
return render(
<AppLayout>
<Helmet>
Expand All @@ -13,5 +13,3 @@ const PageAbout = () => {
</AppLayout>
)
}

export default PageAbout
4 changes: 2 additions & 2 deletions test/tsx/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render, Comment } from "minista"
import { AppLayout } from "../components/app-layout"

const PageHome = () => {
return render(
return (
<AppLayout>
<Helmet>
<title>Home</title>
Expand All @@ -16,4 +16,4 @@ const PageHome = () => {
)
}

export default PageHome
export default render(PageHome)

0 comments on commit b4348a5

Please sign in to comment.