Move useScopeValue hook to shared hooks folder and wrap setValue in a function (#5386)

GitOrigin-RevId: b1a6a4e871af3b52fb3d100a83b479c834cb75ca
This commit is contained in:
Alf Eaton
2021-10-11 08:03:29 +00:00
committed by Copybot
parent 165520a6f2
commit 845b2fbc04
10 changed files with 15 additions and 11 deletions
@@ -1,6 +1,6 @@
import { createContext, useContext } from 'react'
import PropTypes from 'prop-types'
import useScopeValue from './util/scope-value-hook'
import useScopeValue from '../hooks/use-scope-value'
const ProjectContext = createContext()