{#if followState === followStates.requesting}

Interaction

{#if followRole === followRoles.follower}

Do you want to follow {followUsers[0]}?

{:else if followRole === followRoles.leader}

Ask others to follow you?

{/if}
{/if} {#if followState === followStates.ending}

Interaction

{#if followRole === followRoles.follower}

Do you want to stop following {followUsers[0]}?

{:else if followRole === followRoles.leader}

Do you want to stop leading the way?

{/if}
{/if} {#if followState === followStates.active || followState === followStates.ending}
{#if followRole === followRoles.follower}

Following {followUsers[0]}

{:else if followUsers.length === 0}

Waiting for followers' confirmation

{:else if followUsers.length === 1}

{followUsers[0]} is following you

{:else if followUsers.length === 2}

{followUsers[0]} and {followUsers[1]} are following you

{:else}

{followUsers[0]}, {followUsers[1]} and {followUsers[2]} are following you

{/if}
{/if}