Fix readme
This commit is contained in:
parent
89de5607f1
commit
a2760da512
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "compose",
|
"name": "provider-compose",
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"description": "Simple compose provider",
|
"description": "Simple compose provider",
|
||||||
"main": "dist/compose.js",
|
"main": "dist/compose.js",
|
||||||
|
|
|
@ -10,7 +10,7 @@ unstated-next:
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { createContainer } from 'unstated-next';
|
import { createContainer } from 'unstated-next';
|
||||||
|
|
||||||
import { Compose } from 'unstated-next-compose'; // <---
|
import { Compose } from 'provider-compose'; // <---
|
||||||
|
|
||||||
const useProvider1 = () => {
|
const useProvider1 = () => {
|
||||||
const [a, setA] = useState(0);
|
const [a, setA] = useState(0);
|
||||||
|
|
Loading…
Reference in a new issue