feat: impl accepted/rejected button

This commit is contained in:
2025-01-26 17:30:59 +00:00
parent 1bc4206e39
commit c497b832ae
3 changed files with 40 additions and 3 deletions

View File

@@ -53,7 +53,11 @@ const useStore = create<Store>()(
}
const lastStageNodeKey = entry.stages.at(-1) ?? state.starts[0]
if (lastStageNodeKey === stage) {
if (
lastStageNodeKey === stage ||
lastStageNodeKey === DEFAULT_NODE.acceptedNode.key ||
lastStageNodeKey === DEFAULT_NODE.rejectedNode.key
) {
return
}