Skip to content

Commit

Permalink
- Add documentation link on package.json #810
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yadav committed Feb 25, 2024
1 parent 69ad995 commit 2910b57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-number-format",
"description": "React component to format number in an input or as a text.",
"version": "5.3.2",
"version": "5.3.3",
"main": "dist/react-number-format.cjs.js",
"module": "dist/react-number-format.es.js",
"types": "types/index.d.ts",
Expand All @@ -12,6 +12,7 @@
"type": "git",
"url": "https://github.com/s-yadav/react-number-format"
},
"homepage": "https://s-yadav.github.io/react-number-format/docs/intro",
"bugs": {
"mail": "[email protected]",
"url": "https://github.com/s-yadav/react-number-format/issues"
Expand Down
8 changes: 1 addition & 7 deletions src/number_format_base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,7 @@ export default function NumberFormatBase<BaseType = InputAttributes>(
| React.KeyboardEvent<HTMLInputElement>;
source: SourceType;
}) => {
const {
formattedValue: newFormattedValue = '',
input,
source,
event,
numAsString,
} = params;
const { formattedValue: newFormattedValue = '', input, source, event, numAsString } = params;
let caretPos;

if (input) {
Expand Down

0 comments on commit 2910b57

Please sign in to comment.