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]]
|
[[package]]
|
||||||
name = "reminder-rs"
|
name = "reminder-rs"
|
||||||
version = "1.7.13"
|
version = "1.7.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"base64 0.22.0",
|
"base64 0.22.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder-rs"
|
name = "reminder-rs"
|
||||||
version = "1.7.13"
|
version = "1.7.14"
|
||||||
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0 only"
|
license = "AGPL-3.0 only"
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
import { useState } from "preact/hooks";
|
import {useState} from "preact/hooks";
|
||||||
import { fetchGuildChannels, Reminder } from "../../api";
|
import {fetchGuildChannels, Reminder} from "../../api";
|
||||||
import { DateTime } from "luxon";
|
import {DateTime} from "luxon";
|
||||||
import { CreateButtonRow } from "./ButtonRow/CreateButtonRow";
|
import {CreateButtonRow} from "./ButtonRow/CreateButtonRow";
|
||||||
import { TopBar } from "./TopBar";
|
import {TopBar} from "./TopBar";
|
||||||
import { Message } from "./Message";
|
import {Message} from "./Message";
|
||||||
import { Settings } from "./Settings";
|
import {Settings} from "./Settings";
|
||||||
import { ReminderContext } from "./ReminderContext";
|
import {ReminderContext} from "./ReminderContext";
|
||||||
import { useQuery } from "react-query";
|
import {useQuery} from "react-query";
|
||||||
import "./styles.scss";
|
import "./styles.scss";
|
||||||
import { useGuild } from "../App/useGuild";
|
import {useGuild} from "../App/useGuild";
|
||||||
import { DEFAULT_COLOR } from "./Embed";
|
import {DEFAULT_COLOR} from "./Embed";
|
||||||
import { useTimezone } from "../App/TimezoneProvider";
|
|
||||||
|
|
||||||
function defaultReminder(): Reminder {
|
function defaultReminder(): Reminder {
|
||||||
return {
|
return {
|
||||||
@ -49,7 +48,7 @@ export const CreateReminder = () => {
|
|||||||
const [reminder, setReminder] = useState(defaultReminder());
|
const [reminder, setReminder] = useState(defaultReminder());
|
||||||
const [collapsed, setCollapsed] = useState(false);
|
const [collapsed, setCollapsed] = useState(false);
|
||||||
|
|
||||||
const { isSuccess, data: guildChannels } = useQuery(fetchGuildChannels(guild));
|
const {isSuccess, data: guildChannels} = useQuery(fetchGuildChannels(guild));
|
||||||
|
|
||||||
if (isSuccess && reminder.channel === null) {
|
if (isSuccess && reminder.channel === null) {
|
||||||
setReminder((reminder) => ({
|
setReminder((reminder) => ({
|
||||||
@ -68,10 +67,10 @@ export const CreateReminder = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div class="columns reminder-settings">
|
<div class="columns reminder-settings">
|
||||||
<Message />
|
<Message/>
|
||||||
<Settings />
|
<Settings/>
|
||||||
</div>
|
</div>
|
||||||
<CreateButtonRow />
|
<CreateButtonRow/>
|
||||||
</div>
|
</div>
|
||||||
</ReminderContext.Provider>
|
</ReminderContext.Provider>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user