Skip to content

Commit

Permalink
fix: typo in localComponents description (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
janikga committed May 31, 2023
1 parent d13552a commit b2ffc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/only-export-components.ts
Expand Up @@ -25,7 +25,7 @@ export const onlyExportComponents: TSESLint.RuleModule<
anonymousExport:
"Fast refresh can't handle anonymous components. Add a name to your export.",
localComponents:
"Fast refresh only works when a file only export components. Move your component(s) to a separate file.",
"Fast refresh only works when a file only exports components. Move your component(s) to a separate file.",
noExport:
"Fast refresh only works when a file has exports. Move your component(s) to a separate file.",
},
Expand Down

0 comments on commit b2ffc67

Please sign in to comment.