aboutsummaryrefslogtreecommitdiff
path: root/examples/macros/matchInFile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/macros/matchInFile.tsx')
-rw-r--r--examples/macros/matchInFile.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/macros/matchInFile.tsx b/examples/macros/matchInFile.tsx
index bd1c92dea..e434d1dec 100644
--- a/examples/macros/matchInFile.tsx
+++ b/examples/macros/matchInFile.tsx
@@ -12,10 +12,10 @@ export function matchInFile(callExpression: BunAST.CallExpression) {
<array>
{file
.split("\n")
- .map((line) => line.match(matcher))
+ .map(line => line.match(matcher))
.filter(Boolean)
.reverse()
- .map((line) => (
+ .map(line => (
<string value={line[0]} />
))}
</array>