{#if newBranch !== null} (newBranch = null)}> Branch name e.key === 'Enter' && createBranch()} /> (newBranch = null)}>Cancel Create & switch {/if}