Skip to content

Commit fdf5256

Browse files
committed
Remove the scroll view wrapper
1 parent fb8470b commit fdf5256

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

Core/Sources/HostApp/ServiceView.swift

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,20 @@ struct ServiceView: View {
2525
image: "globe"
2626
)
2727

28-
ScrollView {
29-
ChatModelManagementView(store: store.scope(
30-
state: \.chatModelManagement,
31-
action: HostApp.Action.chatModelManagement
32-
)).padding()
33-
}.sidebarItem(
28+
ChatModelManagementView(store: store.scope(
29+
state: \.chatModelManagement,
30+
action: HostApp.Action.chatModelManagement
31+
)).sidebarItem(
3432
tag: 2,
3533
title: "Chat Models",
3634
subtitle: "Chat, Prompt to Code",
3735
image: "globe"
3836
)
3937

40-
ScrollView {
41-
EmbeddingModelManagementView(store: store.scope(
42-
state: \.embeddingModelManagement,
43-
action: HostApp.Action.embeddingModelManagement
44-
)).padding()
45-
}.sidebarItem(
38+
EmbeddingModelManagementView(store: store.scope(
39+
state: \.embeddingModelManagement,
40+
action: HostApp.Action.embeddingModelManagement
41+
)).sidebarItem(
4642
tag: 3,
4743
title: "Embedding Models",
4844
subtitle: "Chat, Prompt to Code",

0 commit comments

Comments
 (0)