Skip to content

Commit

Permalink
[frontend/backend] Chaining injects conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimfacion committed Oct 12, 2024
1 parent 0da89ab commit 6b41faf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ const Injects: FunctionComponent<Props> = ({
setInjects([created as InjectOutputType, ...injects]);
}
};

const onUpdate = (result: { result: string, entities: { injects: Record<string, InjectStore> } }) => {
if (result.entities) {
const updated = result.entities.injects[result.result];
Expand Down

0 comments on commit 6b41faf

Please sign in to comment.