Merge remote-tracking branch 'origin/mstratford-webstudio' into mstratford-webstudio
This commit is contained in:
commit
3686028441
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue