Skip to content

Commit

Permalink
Removed TS type from Readme examples (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabberhams authored Mar 21, 2024
1 parent 6029164 commit 6c14daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function Header() {
return (
<header>
<Feature name="v2">
{(isEnabled: boolean) =>
{(isEnabled) =>
isEnabled ? <h1>My App v2</h1> : <h1>My App v1</h1>
}
</Feature>
Expand Down Expand Up @@ -179,7 +179,7 @@ function Header() {
<header>
<Feature
name="v2"
render={(isEnabled: boolean) =>
render={(isEnabled) =>
isEnabled ? <h1>My App v2</h1> : <h1>My App v1</h1>
}
/>
Expand Down

0 comments on commit 6c14daa

Please sign in to comment.