[plugin-sdk-issue-4] - remove tsc errors

This commit is contained in:
GuiLeme 2023-09-21 15:50:26 -03:00
parent 9a6e583daa
commit 022d969e53

View File

@ -32,7 +32,10 @@ const PluginProvidedStateContainer = (props: PluginProvidedStateContainerProps)
pluginProvidedStateMap[uuid] = {} as PluginProvidedState;
}
const pluginApi: PluginSdk.PluginApi = PluginSdk.getPluginApi(uuid);
return pluginProvidedStateContainers.map(
return (
<>
{
pluginProvidedStateContainers.map(
(PluginProvidedStateContainerChildComponent: PluginProvidedStateContainerChild, index: number) => (
<PluginProvidedStateContainerChildComponent
{
@ -46,6 +49,9 @@ const PluginProvidedStateContainer = (props: PluginProvidedStateContainerProps)
}
/>
),
)
}
</>
);
};