mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 02:02:40 +08:00
fix: save and sync partner cookie failed
This commit is contained in:
@@ -11,7 +11,7 @@ const PartnerStackCookieRecorder = () => {
|
||||
if (!IS_CLOUD_EDITION)
|
||||
return
|
||||
saveOrUpdate()
|
||||
}, [])
|
||||
}, [saveOrUpdate])
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ const PartnerStack: FC = () => {
|
||||
saveOrUpdate()
|
||||
// bind PartnerStack info after user logged in
|
||||
bind()
|
||||
}, [])
|
||||
}, [saveOrUpdate, bind])
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user