Skip to content

Commit baeebc3

Browse files
fix: packagejson and format
1 parent e037e56 commit baeebc3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: [yoannfleurydev] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: yoannfleurydev
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['https://paypal.me/yoannfleurydev']
12+
custom: ["https://paypal.me/yoannfleurydev"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# useDisclosure
1+
# react-use-disclosure
22

33
![Node CI](https://github.com/yoannfleurydev/useDisclosure/workflows/Node%20CI/badge.svg)
44

@@ -27,7 +27,7 @@ import { useDisclosure } from "react-use-disclosure";
2727
const {
2828
isOpen: isModalOpen,
2929
open: openModal,
30-
close: closeModal
30+
close: closeModal,
3131
} = useDisclosure();
3232

3333
const { isOpen: isTooltipOpen, toggle: toggleTooltip } = useDiclosure(true);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"index.*",
1818
"dist/"
1919
],
20-
"main": "./dist/index.js",
21-
"module": "./dist/index.mjs",
20+
"main": "./dist/index.cjs",
21+
"module": "./dist/index.js",
2222
"types": "./dist/index.d.ts",
2323
"scripts": {
2424
"dev": "tsup index.ts --format esm,cjs --dts --watch",

0 commit comments

Comments
 (0)