Bump ver
This commit is contained in:
parent
1d06999e41
commit
3fc27b466a
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2502,7 +2502,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
|
||||
|
||||
[[package]]
|
||||
name = "reminder-rs"
|
||||
version = "1.7.13"
|
||||
version = "1.7.14"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"base64 0.22.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "reminder-rs"
|
||||
version = "1.7.13"
|
||||
version = "1.7.14"
|
||||
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
||||
edition = "2021"
|
||||
license = "AGPL-3.0 only"
|
||||
|
@ -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 = () => {
|
||||
}}
|
||||
/>
|
||||
<div class="columns reminder-settings">
|
||||
<Message />
|
||||
<Settings />
|
||||
<Message/>
|
||||
<Settings/>
|
||||
</div>
|
||||
<CreateButtonRow />
|
||||
<CreateButtonRow/>
|
||||
</div>
|
||||
</ReminderContext.Provider>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user