mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-07 14:00:40 +02:00
removes unnecessary props from button
This commit is contained in:
parent
fffe679bf0
commit
2f2544b978
@ -105,7 +105,7 @@ export const AsyncMethodComponent = React.memo((props: AsyncMethodProps) => {
|
|||||||
<h5>Function: {displayName}</h5>
|
<h5>Function: {displayName}</h5>
|
||||||
<Form onSubmit={execute} ref={formRef}>
|
<Form onSubmit={execute} ref={formRef}>
|
||||||
{args}
|
{args}
|
||||||
<Button id={`button-${id}`} name={name} value={parentPath} type="submit">
|
<Button id={`button-${id}`} type="submit">
|
||||||
{runningTask ? 'Stop ' : 'Start '}
|
{runningTask ? 'Stop ' : 'Start '}
|
||||||
<DocStringComponent docString={docString} />
|
<DocStringComponent docString={docString} />
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user