test(plugins): narrow the shared configuration slot owner
This commit is contained in:
1 parent
73801ce10b
commit
6196d1b52d
1 file changed
+2
-2
@@ -115,8 +115,8 @@ function renderTab(state: Partial<PluginManagerState> = {}, config: Partial<Conf
|
||||
...actions,
|
||||
usePluginManager: bindSnapshotSelector(store),
|
||||
useConfigLedger: bindSnapshotSelector(ledger),
|
||||
renderSlot: (name, owner: PluginConfigViewProps, opts) =>
|
||||
bodies[`${name}:${opts?.only ?? opts?.entryKey ?? ''}`]?.(owner.view) ?? null,
|
||||
renderSlot: (name, owner, opts) =>
|
||||
bodies[`${name}:${opts?.only ?? opts?.entryKey ?? ''}`]?.((owner as PluginConfigViewProps).view) ?? null,
|
||||
}
|
||||
const { rerender } = render(<PluginManagerPage {...props} />)
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user