We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f471d9 commit a400cd8Copy full SHA for a400cd8
1 file changed
ui/src/pages/Admin/Seo/index.tsx
@@ -6,6 +6,7 @@ import { getSeoSetting, putSeoSetting } from '@/services';
6
import { SchemaForm, JSONSchema, initFormData, UISchema } from '@/components';
7
import { useToast } from '@/hooks';
8
import { handleFormError } from '@/utils';
9
+import { seoSettingStore } from '@/stores';
10
11
const Index: FC = () => {
12
const { t } = useTranslation('translation', {
@@ -64,6 +65,7 @@ const Index: FC = () => {
64
65
msg: t('update', { keyPrefix: 'toast' }),
66
variant: 'success',
67
});
68
+ seoSettingStore.getState().update(reqParams);
69
})
70
.catch((err) => {
71
if (err.isError) {
0 commit comments