You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now KonnectorModal component requires a konnector props, fully fetched with its related triggers into konnector.triggers.data.
It implies that the calling application must fetch konnector and its triggers before rendering a KonnectorModal.
I think we should wrap the KonnectorModal with a withKonnector HOC, in charge of fetching everything is needed (konnector, triggers, but also related accounts) before injecting it into KonnectorModal. We could then call the KonnectorModal this way:
<KonnectorModal slug="trainline" />
The text was updated successfully, but these errors were encountered:
For now KonnectorModal component requires a
konnector
props, fully fetched with its related triggers intokonnector.triggers.data
.It implies that the calling application must fetch konnector and its triggers before rendering a KonnectorModal.
I think we should wrap the KonnectorModal with a
withKonnector
HOC, in charge of fetching everything is needed (konnector, triggers, but also related accounts) before injecting it into KonnectorModal. We could then call theKonnectorModal
this way:The text was updated successfully, but these errors were encountered: