Start adding stuff for user reminders

This commit is contained in:
jude
2024-03-03 21:58:48 +00:00
parent 329492b244
commit 85a114e55c
6 changed files with 25 additions and 4 deletions

View File

@ -1,10 +1,10 @@
import { useParams } from "wouter";
import { useQuery } from "react-query";
import { fetchGuildChannels, fetchGuildReminders } from "../../api";
import { EditReminder } from "../Reminder/EditReminder";
import { CreateReminder } from "../Reminder/CreateReminder";
import { useState } from "preact/hooks";
import { Loader } from "../Loader";
import { useGuild } from "../App/useGuild";
enum Sort {
Time = "time",
@ -13,7 +13,7 @@ enum Sort {
}
export const GuildReminders = () => {
const { guild } = useParams();
const guild = useGuild();
const {
isSuccess,