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,
|
useMachinesQuery,
|
||||||
} from "@/src/hooks/queries";
|
} from "@/src/hooks/queries";
|
||||||
import { callApi } from "@/src/hooks/api";
|
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 { produce } from "solid-js/store";
|
||||||
import { Button } from "@/src/components/Button/Button";
|
import { Button } from "@/src/components/Button/Button";
|
||||||
import { Splash } from "@/src/scene/splash";
|
import { Splash } from "@/src/scene/splash";
|
||||||
@@ -219,13 +219,6 @@ const ClanSceneController = (props: RouteSectionProps) => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Show>
|
</Show>
|
||||||
<Button
|
|
||||||
onClick={() => setActiveClanURI(undefined)}
|
|
||||||
hierarchy="primary"
|
|
||||||
class="absolute bottom-4 right-4"
|
|
||||||
>
|
|
||||||
close this clan
|
|
||||||
</Button>
|
|
||||||
<div
|
<div
|
||||||
class={cx({
|
class={cx({
|
||||||
[styles.fadeOut]: !machinesQuery.isLoading && loadingCooldown(),
|
[styles.fadeOut]: !machinesQuery.isLoading && loadingCooldown(),
|
||||||
|
|||||||
Reference in New Issue
Block a user