diff --git a/web/pages/_app.tsx b/web/pages/_app.tsx index 9f3bf1942..d9b5d1230 100644 --- a/web/pages/_app.tsx +++ b/web/pages/_app.tsx @@ -2,7 +2,6 @@ import 'antd/dist/antd.css'; import '../styles/colors.scss'; import '../styles/globals.scss'; -// GW: I can't override ant design styles through components using NextJS's built-in CSS modules. So I'll just import styles here for now and figure out enabling SASS modules later. import '../styles/home.scss'; import '../styles/chat.scss'; import '../styles/config.scss'; diff --git a/web/pages/components/config/constants.tsx b/web/pages/components/config/constants.tsx index ddb09a52d..48e950594 100644 --- a/web/pages/components/config/constants.tsx +++ b/web/pages/components/config/constants.tsx @@ -24,7 +24,6 @@ export const SUCCESS_STATES = { }; - export async function postConfigUpdateToAPI(args: ApiPostArgs) { const { apiPath, @@ -38,9 +37,9 @@ export async function postConfigUpdateToAPI(args: ApiPostArgs) { auth: true, }); if (result.success && onSuccess) { - onSuccess(); + onSuccess(result.message); } else if (onError) { - onError(); + onError(result.message); } } @@ -96,7 +95,7 @@ export const TEXTFIELD_DEFAULTS = { maxLength: 255, placeholder: '/img/mylogo.png', label: 'Logo', - tip: 'Path to your logo from website root', + tip: 'Path to your logo from website root. We recommend that you use a square image that is at least 256x256. (upload functionality coming soon)', }, extraPageContent: { @@ -113,8 +112,6 @@ export const TEXTFIELD_DEFAULTS = { tip: "Turn this ON if you plan to steam explicit or adult content. You may want to respectfully set this flag so that unexpecting eyes won't accidentally see it from the Directory.", }, - - // tags: { apiPath: '/tags', defaultValue: '', diff --git a/web/pages/components/config/edit-directory.tsx b/web/pages/components/config/edit-directory.tsx index e7d530903..797253114 100644 --- a/web/pages/components/config/edit-directory.tsx +++ b/web/pages/components/config/edit-directory.tsx @@ -42,7 +42,7 @@ export default function EditYPDetails() {
Would you like to appear in the Owncast Directory?
-NOTE: You will need to have a URL specified in the Instance URL field to be able to use this.
NOTE: You will need to have a URL specified in the Instance URL field to be able to use this.