Skip to content

Commit fde9005

Browse files
committed
Fix typo in prune context notice text and add consistent spacing between sections
1 parent 1f0c077 commit fde9005

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • apps/editor/src/views/settings/frontend/Home

‎apps/editor/src/views/settings/frontend/Home/Home.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ export const Home: React.FC<Props> = (props) => {
365365
on_ai_studio_user_id_change={props.on_ai_studio_user_id_change}
366366
on_stuck_change={general_on_stuck_change}
367367
/>
368+
368369
<Section
369370
ref={(el) => (section_refs.current['model-providers'] = el)}
370371
title="Model Providers"
@@ -469,6 +470,7 @@ export const Home: React.FC<Props> = (props) => {
469470
/>
470471
</Group>
471472
</Section>
473+
472474
<Section
473475
ref={(el) => (section_refs.current['intelligent-update'] = el)}
474476
group="API Tool"
@@ -531,6 +533,7 @@ export const Home: React.FC<Props> = (props) => {
531533
/>
532534
</Group>
533535
</Section>
536+
534537
<Section
535538
ref={(el) => (section_refs.current['prune-context'] = el)}
536539
group="API Tool"
@@ -548,7 +551,7 @@ export const Home: React.FC<Props> = (props) => {
548551
}
549552
>
550553
<Notice type="info">
551-
A request include context (all checked files) in a compacted form.
554+
A request includes context (all checked files) in a compacted form.
552555
</Notice>
553556
{props.prune_context_configs.length == 0 && (
554557
<Notice type="warning">
@@ -570,6 +573,7 @@ export const Home: React.FC<Props> = (props) => {
570573
/>
571574
</Group>
572575
</Section>
576+
573577
<Section
574578
ref={(el) => (section_refs.current['code-at-cursor'] = el)}
575579
group="API Tool"
@@ -628,6 +632,7 @@ export const Home: React.FC<Props> = (props) => {
628632
/>
629633
</Group>
630634
</Section>
635+
631636
<Section
632637
ref={(el) => (section_refs.current['voice-input'] = el)}
633638
group="API Tool"

0 commit comments

Comments
 (0)