feat(ui): remove add clan button from ListClansModal

It was confusing how it worked. Cleaner to remove it and just have users X out of the modal and use the existing onboarding workflow.

Closes #5010
This commit is contained in:
Brian McGee
2025-09-29 11:42:41 +01:00
parent 04a1fa1cf0
commit aa0b03064a

View File

@@ -2,9 +2,6 @@ import { Modal } from "../../components/Modal/Modal";
import cx from "classnames";
import styles from "./ListClansModal.module.css";
import { Typography } from "@/src/components/Typography/Typography";
import { Button } from "@/src/components/Button/Button";
import { navigateToOnboarding } from "@/src/hooks/clan";
import { useNavigate } from "@solidjs/router";
import { For, Show } from "solid-js";
import { activeClanURI, clanURIs, setActiveClanURI } from "@/src/stores/clan";
import { useClanListQuery } from "@/src/hooks/queries";
@@ -20,8 +17,6 @@ export interface ListClansModalProps {
}
export const ListClansModal = (props: ListClansModalProps) => {
const navigate = useNavigate();
const query = useClanListQuery(clanURIs());
// we only want clans we could interrogate successfully