Merge remote-tracking branch 'origin/mstratford-webstudio' into mstratford-webstudio

This commit is contained in:
Matthew Stratford 2021-05-26 23:53:14 +01:00
commit 3686028441

View file

@ -13,7 +13,7 @@ import { sendBAPSicleChannel } from "../bapsicle";
type searchingStateEnum = "searching" | "results" | "no-results" | "error";
export function LoadShowDialogue(close: any) {
export function LoadShowDialogue({ close }: { close: () => any }) {
const [items, setItems] = useState<Timeslot[]>([]);
const [state, setState] = useState<searchingStateEnum>("searching");
@ -46,6 +46,7 @@ export function LoadShowDialogue(close: any) {
sendBAPSicleChannel({
command: "CLEAR",
});
close();
}}
>
<FaTrashAlt size={15} /> Clear All Channels