Skip to content

Commit 26ff3ed

Browse files
fix(tui): keep home shortcuts right-aligned (anomalyco#36906)
Co-authored-by: Kit Langton <[email protected]>
1 parent 9f69463 commit 26ff3ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/tui/src/component/prompt/index.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ export function Prompt(props: PromptProps) {
16441644
</Match>
16451645
<Match when={true}>
16461646
{props.hint ?? (
1647-
<Show when={props.sessionID}>
1647+
<Show when={props.sessionID} fallback={<text />}>
16481648
<box marginLeft={1}>
16491649
<text fg={theme.textMuted}>{location()?.directory ?? paths.cwd}</text>
16501650
</box>

0 commit comments

Comments
 (0)