feat: Add CustomTermsLinks component to GeneralPage (#8808)
✨ (frontend): add CustomTermsLinks component to GeneralPage to display custom terms links in the settings page.
This commit is contained in:
parent
466a18c744
commit
2242d7557f
2 changed files with 6 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
||||||
|
export const CustomTermsLinks = () => {
|
||||||
|
return <></>;
|
||||||
|
};
|
||||||
|
|
@ -10,6 +10,7 @@ import {
|
||||||
useUpdateUser,
|
useUpdateUser,
|
||||||
} from "@/controllers/API/queries/auth";
|
} from "@/controllers/API/queries/auth";
|
||||||
import { useGetProfilePicturesQuery } from "@/controllers/API/queries/files";
|
import { useGetProfilePicturesQuery } from "@/controllers/API/queries/files";
|
||||||
|
import { CustomTermsLinks } from "@/customization/components/custom-terms-links";
|
||||||
import { ENABLE_PROFILE_ICONS } from "@/customization/feature-flags";
|
import { ENABLE_PROFILE_ICONS } from "@/customization/feature-flags";
|
||||||
import useAuthStore from "@/stores/authStore";
|
import useAuthStore from "@/stores/authStore";
|
||||||
import { cloneDeep } from "lodash";
|
import { cloneDeep } from "lodash";
|
||||||
|
|
@ -160,6 +161,8 @@ export const GeneralPage = () => {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<CustomTermsLinks />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue