Skip to content

Commit f7638a1

Browse files
authored
Merge pull request #11 from high1/fix/is-first-capital
Fix/is first capital
2 parents 9aad3d4 + 0591e2b commit f7638a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solid-jsx",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "solid-js jsx compatible mdx runtime",
55
"main": "./dist/jsx-runtime.js",
66
"type": "module",

src/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { isServer } from 'solid-js/web';
22

33
export const isFirstLetterCapital = (string: string): boolean => {
44
const first = string.charAt(0);
5-
return first === first.toLowerCase();
5+
return first !== first.toLowerCase();
66
};
77

88
export const capitalizeFirstLetter = (

0 commit comments

Comments
 (0)