File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { QuestionCircleOutlined } from '@ant-design/icons';
44import useGenericSettings from '@app/hooks/useGenericSettings' ;
55import { ImageModerationSettings as ImageModerationSettingsType , SettingsGroupType } from '@app/types/settings.types' ;
66import BaseSettingsForm from './BaseSettingsForm' ;
7-
7+ import * as S from './Settings.styles' ;
88const { Option } = Select ;
99
1010const ImageModerationSettings : React . FC = ( ) => {
@@ -118,14 +118,14 @@ const ImageModerationSettings: React.FC = () => {
118118 label = "API Endpoint"
119119 rules = { [ { required : true , message : 'Please enter the API endpoint' } ] }
120120 >
121- < Input placeholder = "http://localhost:8000/moderate" />
121+ < S . InputField placeholder = "http://localhost:8000/moderate" />
122122 </ Form . Item >
123123
124124 < Form . Item
125125 name = "image_moderation_temp_dir"
126126 label = "Temporary Directory"
127127 >
128- < Input placeholder = "./data/moderation/temp" />
128+ < S . InputField placeholder = "./data/moderation/temp" />
129129 </ Form . Item >
130130
131131 < Form . Item
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { QuestionCircleOutlined } from '@ant-design/icons';
44import useGenericSettings from '@app/hooks/useGenericSettings' ;
55import { SettingsGroupType } from '@app/types/settings.types' ;
66import BaseSettingsForm from './BaseSettingsForm' ;
7+ import { InputField } from './Settings.styles' ;
78
89const { Option } = Select ;
910
@@ -113,7 +114,7 @@ const OllamaSettings: React.FC = () => {
113114 { type : 'url' , message : 'Please enter a valid URL' }
114115 ] }
115116 >
116- < Input placeholder = "http://localhost:11434" />
117+ < InputField placeholder = "http://localhost:11434" />
117118 </ Form . Item >
118119
119120 < Form . Item
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ const RelayInfoSettings: React.FC = () => {
141141 </ span >
142142 }
143143 >
144- < Input placeholder = "HORNETS Relay" />
144+ < S . InputField placeholder = "HORNETS Relay" />
145145 </ Form . Item >
146146
147147 < Form . Item
@@ -155,7 +155,7 @@ const RelayInfoSettings: React.FC = () => {
155155 </ span >
156156 }
157157 >
158- < Input placeholder = "1.0.0" />
158+ < S . InputField placeholder = "1.0.0" />
159159 </ Form . Item >
160160
161161 < Form . Item
You can’t perform that action at this time.
0 commit comments