Open acezard opened 3 years ago
PR for reference: https://github.com/cozy/cozy-notes/pull/201
Before:
import { useFlag } from 'cozy-flags' import flag, { FlagSwitcher } from 'cozy-flags'
After updating cozy-flags: useFlag and FlagSwitcher are undefined.
useFlag
FlagSwitcher
undefined
Temporary fix:
import useFlag from 'cozy-flags/dist/useFlag' import FlagSwitcher from 'cozy-flags/dist/FlagSwitcher' import flag from 'cozy-flags'
Here everything is defined, but the import paths are non-idiomatic.
I think this is related to https://github.com/cozy/cozy-libs/pull/1273
I think this is related to #1273
Seems likely yes, I can't check on it right now but will do later if nobody is available in the meantime
PR for reference: https://github.com/cozy/cozy-notes/pull/201
Before:
After updating cozy-flags:
useFlag
andFlagSwitcher
areundefined
.Temporary fix:
Here everything is defined, but the import paths are non-idiomatic.