Fix readme

This commit is contained in:
Alexander Kiryukhin 2019-08-19 11:36:22 +03:00
parent 89de5607f1
commit a2760da512
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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);