Merge pull request 'chore(ui): remove close this clan button' (#4846) from chore/remove-close-clan-button into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4846
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
useMachinesQuery,
|
||||
} from "@/src/hooks/queries";
|
||||
import { callApi } from "@/src/hooks/api";
|
||||
import { store, setStore, clanURIs, setActiveClanURI } from "@/src/stores/clan";
|
||||
import { store, setStore, clanURIs } from "@/src/stores/clan";
|
||||
import { produce } from "solid-js/store";
|
||||
import { Button } from "@/src/components/Button/Button";
|
||||
import { Splash } from "@/src/scene/splash";
|
||||
@@ -219,13 +219,6 @@ const ClanSceneController = (props: RouteSectionProps) => {
|
||||
}}
|
||||
/>
|
||||
</Show>
|
||||
<Button
|
||||
onClick={() => setActiveClanURI(undefined)}
|
||||
hierarchy="primary"
|
||||
class="absolute bottom-4 right-4"
|
||||
>
|
||||
close this clan
|
||||
</Button>
|
||||
<div
|
||||
class={cx({
|
||||
[styles.fadeOut]: !machinesQuery.isLoading && loadingCooldown(),
|
||||
|
||||
Reference in New Issue
Block a user