From 3fc27b466a6ee0dada4d610cf15b71e3f8d56208 Mon Sep 17 00:00:00 2001 From: jude Date: Sat, 20 Apr 2024 22:14:49 +0100 Subject: [PATCH] Bump ver --- Cargo.lock | 2 +- Cargo.toml | 2 +- .../components/Reminder/CreateReminder.tsx | 31 +++++++++---------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6cc64a4..7079711 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2502,7 +2502,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reminder-rs" -version = "1.7.13" +version = "1.7.14" dependencies = [ "axum", "base64 0.22.0", diff --git a/Cargo.toml b/Cargo.toml index ac43924..fa31de3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.7.13" +version = "1.7.14" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" diff --git a/reminder-dashboard/src/components/Reminder/CreateReminder.tsx b/reminder-dashboard/src/components/Reminder/CreateReminder.tsx index 4e6cffc..f81a870 100644 --- a/reminder-dashboard/src/components/Reminder/CreateReminder.tsx +++ b/reminder-dashboard/src/components/Reminder/CreateReminder.tsx @@ -1,16 +1,15 @@ -import { useState } from "preact/hooks"; -import { fetchGuildChannels, Reminder } from "../../api"; -import { DateTime } from "luxon"; -import { CreateButtonRow } from "./ButtonRow/CreateButtonRow"; -import { TopBar } from "./TopBar"; -import { Message } from "./Message"; -import { Settings } from "./Settings"; -import { ReminderContext } from "./ReminderContext"; -import { useQuery } from "react-query"; +import {useState} from "preact/hooks"; +import {fetchGuildChannels, Reminder} from "../../api"; +import {DateTime} from "luxon"; +import {CreateButtonRow} from "./ButtonRow/CreateButtonRow"; +import {TopBar} from "./TopBar"; +import {Message} from "./Message"; +import {Settings} from "./Settings"; +import {ReminderContext} from "./ReminderContext"; +import {useQuery} from "react-query"; import "./styles.scss"; -import { useGuild } from "../App/useGuild"; -import { DEFAULT_COLOR } from "./Embed"; -import { useTimezone } from "../App/TimezoneProvider"; +import {useGuild} from "../App/useGuild"; +import {DEFAULT_COLOR} from "./Embed"; function defaultReminder(): Reminder { return { @@ -49,7 +48,7 @@ export const CreateReminder = () => { const [reminder, setReminder] = useState(defaultReminder()); const [collapsed, setCollapsed] = useState(false); - const { isSuccess, data: guildChannels } = useQuery(fetchGuildChannels(guild)); + const {isSuccess, data: guildChannels} = useQuery(fetchGuildChannels(guild)); if (isSuccess && reminder.channel === null) { setReminder((reminder) => ({ @@ -68,10 +67,10 @@ export const CreateReminder = () => { }} />
- - + +
- + );