🧽 Cleanup of various UX aspects

This commit is contained in:
2021-09-04 22:11:59 -07:00
parent 664f359ef7
commit c8061e0d5c
6 changed files with 27 additions and 28 deletions

View File

@@ -32,6 +32,10 @@ export const search = (data: SearchData) => async (dispatch) => {
await SocketService.connect("admin", "password", true);
}
const instance: SearchInstance = await SocketService.post("search");
console.log(instance)
dispatch({
type: AIRDCPP_SEARCH_IN_PROGRESS,
});
// We want to get notified about every new result in order to make the user experience better
await SocketService.addListener(