mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
fix(console): should not mutate when closing create connector modal (#3577)
This commit is contained in:
parent
9c17de0906
commit
6cd15d0698
1 changed files with 1 additions and 3 deletions
|
@ -204,9 +204,7 @@ function Connectors() {
|
|||
<CreateForm
|
||||
isOpen={Boolean(createConnectorType)}
|
||||
type={createConnectorType}
|
||||
onClose={async (id) => {
|
||||
await mutate();
|
||||
|
||||
onClose={(id) => {
|
||||
if (createConnectorType && id) {
|
||||
navigate(buildGuidePathname(createConnectorType, id), { replace: true });
|
||||
|
||||
|
|
Loading…
Reference in a new issue