the thing is called a provider now

This commit is contained in:
Thomas Ruoff
2021-06-18 23:27:14 +02:00
parent 0eeee08659
commit 67cf096db2

View File

@@ -1,6 +1,6 @@
import React, { useContext } from 'react'
import Contact from './contact'
import BookStore, { BookContext } from '../../context/book'
import BookProvider, { BookContext } from '../../context/book'
import DateSelect from './dateSelect'
import Reason from './reason'
@@ -43,8 +43,8 @@ function BookForm() {
export default function Book() {
return (
<BookStore>
<BookProvider>
<BookForm />
</BookStore>
</BookProvider>
)
}