Fix useCallback missing dependency warning
Add config.machineId to openSystem dependency array 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cf31e78edb
commit
c5150fee8f
1 changed files with 1 additions and 1 deletions
|
|
@ -1246,7 +1246,7 @@ const resolvedAppUrl = useMemo(() => {
|
||||||
const redirectTarget = persona === "manager" ? "/dashboard" : "/portal/tickets"
|
const redirectTarget = persona === "manager" ? "/dashboard" : "/portal/tickets"
|
||||||
const url = `${resolvedAppUrl}/machines/handshake?token=${encodeURIComponent(token)}&redirect=${encodeURIComponent(redirectTarget)}`
|
const url = `${resolvedAppUrl}/machines/handshake?token=${encodeURIComponent(token)}&redirect=${encodeURIComponent(redirectTarget)}`
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
}, [token, config?.accessRole, resolvedAppUrl, store])
|
}, [token, config?.accessRole, config?.machineId, resolvedAppUrl, store])
|
||||||
|
|
||||||
async function reprovision() {
|
async function reprovision() {
|
||||||
if (!store) return
|
if (!store) return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue