Исправлена ошибка работы WellOperations

This commit is contained in:
goodmice 2022-10-27 16:48:58 +05:00
parent 6024c7ca64
commit 11cb245cf5
No known key found for this signature in database
GPG Key ID: 63EA771203189CF1

View File

@ -6,7 +6,7 @@ import { withPermissions } from '@utils'
const WellOperations = memo(() => { const WellOperations = memo(() => {
const root = useRootPath() const root = useRootPath()
const rootPath = useMemo(() => `${root}/${properties.key}`, [root]) const rootPath = useMemo(() => `${root}/operations`, [root])
return( return(
<RootPathContext.Provider value={rootPath}> <RootPathContext.Provider value={rootPath}>