Fix ScheduleEdit page not working directly by url (#3477)
This commit is contained in:
parent
e8746feb97
commit
9c64fb29a4
2 changed files with 3 additions and 9 deletions
|
@ -58,7 +58,7 @@ export default () => {
|
|||
css={tw`cursor-pointer mb-2 flex-wrap`}
|
||||
onClick={(e: any) => {
|
||||
e.preventDefault();
|
||||
history.push(`${match.url}/${schedule.id}`, { schedule });
|
||||
history.push(`${match.url}/${schedule.id}`);
|
||||
}}
|
||||
>
|
||||
<ScheduleRow schedule={schedule}/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue