mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
the thing is called a provider now
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user