feat: add suspend state and make all buttons related to state working
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { useApp } from "~/hooks/useApp";
|
||||
import { WaybarWidget } from "../WaybarWidget";
|
||||
|
||||
export const WaybarLockWidget = () => {
|
||||
const { setState } = useApp();
|
||||
|
||||
return (
|
||||
<WaybarWidget className="pl-3 pr-[0.625rem]" interactable>
|
||||
|
||||
<button onClick={() => setState("login")}></button>
|
||||
</WaybarWidget>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user