mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-11 07:56:47 +02:00
Soft delete and house keeping endpoint (#184)
This commit is contained in:
parent
97e189132f
commit
3299ba2030
14 changed files with 326 additions and 14 deletions
|
@ -19,6 +19,7 @@ import { useUpdatePollMutation } from "./poll/mutations";
|
|||
import NotificationsToggle from "./poll/notifications-toggle";
|
||||
import PollSubheader from "./poll/poll-subheader";
|
||||
import TruncatedLinkify from "./poll/truncated-linkify";
|
||||
import { useTouchBeacon } from "./poll/use-touch-beacon";
|
||||
import { UserAvatarProvider } from "./poll/user-avatar";
|
||||
import VoteIcon from "./poll/vote-icon";
|
||||
import { usePoll } from "./poll-context";
|
||||
|
@ -37,6 +38,8 @@ const PollPage: NextPage = () => {
|
|||
const { participants } = useParticipants();
|
||||
const router = useRouter();
|
||||
|
||||
useTouchBeacon(poll.pollId);
|
||||
|
||||
useMount(() => {
|
||||
const path = poll.role === "admin" ? "admin" : "p";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue