# Guard branch sync when no active thread is selected · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/6d8d39a5d18bb233497c94ff3e930ac5e70c6970)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 6d8d39a5d18bb233497c94ff3e930ac5e70c6970

Requested commit: 6d8d39a5d18bb233497c94ff3e930ac5e70c6970

Commit: 6d8d39a5d18bb233497c94ff3e930ac5e70c6970

Tree: 63ce415de30b85b98e81d18fb6f9838d01d9e8ee

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Guard branch sync when no active thread is selected

- Prevent `SET_THREAD_BRANCH` dispatch unless both `activeThreadId` and `syncedBranch` exist
- Avoids updating thread-branch state without an active thread context

```

## Parents

- [afdfe16931d292ed5de2772ccc1afd95120ff6b2](https://git.cafe/screen/t3code-personal/commit/afdfe16931d292ed5de2772ccc1afd95120ff6b2?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/6d8d39a5d18bb233497c94ff3e930ac5e70c6970?format=markdown)
