Skip to content

Commit 997d6ae

Browse files
committed
fix: @putout/plugin-react-hooks: react-hooks -> index
1 parent 14c02d4 commit 997d6ae

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

packages/plugin-react-hooks/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
66
"description": "🐊Putout plugin adds ability convert class components to hooks",
77
"homepage": "https://github.com/coderaiser/putout/tree/master/packages/plugin-react-hooks#readme",
8-
"main": "lib/react-hooks.js",
8+
"main": "lib/index.js",
99
"release": false,
1010
"tag": false,
1111
"changelog": false,

packages/plugin-react-hooks/test/react-hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {createTest} from '@putout/test';
22
import rmUnused from '@putout/plugin-remove-unused-variables';
3-
import * as reactHooks from '../lib/react-hooks.js';
3+
import * as reactHooks from '../lib/index.js';
44

55
const test = createTest(import.meta.url, {
66
plugins: [

0 commit comments

Comments
 (0)