Skip to content

Commit 2aeb006

Browse files
Akshay Bhalotiafrostney
authored andcommitted
Rectify spelling mistake (#16)
1 parent 735eec4 commit 2aeb006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ module.exports = ({
2525
throw new Error('Please don\'t include the prefix in the name');
2626
}
2727

28-
if (prefix === 'RTC') {
29-
throw new Error(`The \`RTC\` name prefix is reserved for core React modules.
28+
if (prefix === 'RCT') {
29+
throw new Error(`The \`RCT\` name prefix is reserved for core React modules.
3030
Please use a different prefix.`);
3131
}
3232

0 commit comments

Comments
 (0)