diff --git a/apps/client/src/features/app-settings/panel/settings-panel/ServerPortSettings.tsx b/apps/client/src/features/app-settings/panel/settings-panel/ServerPortSettings.tsx index a2cd068a0..061e8a303 100644 --- a/apps/client/src/features/app-settings/panel/settings-panel/ServerPortSettings.tsx +++ b/apps/client/src/features/app-settings/panel/settings-panel/ServerPortSettings.tsx @@ -3,8 +3,8 @@ import { useForm } from 'react-hook-form'; import { maybeAxiosError } from '../../../../common/api/utils'; import Button from '../../../../common/components/buttons/Button'; +import Info from '../../../../common/components/info/Info'; import Input from '../../../../common/components/input/input/Input'; -import Tag from '../../../../common/components/tag/Tag'; import useServerPort from '../../../../common/hooks-query/useServerPort'; import { preventEscape } from '../../../../common/utils/keyEvent'; import { isOnlyNumbers } from '../../../../common/utils/regex'; @@ -70,7 +70,6 @@ export default function ServerPortSettings() { Server port - {data.pendingRestart && A port change is pending and will happen on the next restart} @@ -90,6 +89,9 @@ export default function ServerPortSettings() { {rootError && {rootError}} + {data.pendingRestart && ( + A port change is pending and will happen on the next restart. + )}