- Replace the ref indirection with `useEffectEvent` - Keep push and PR actions wired to the latest toast state