Fix: Add default for font combo box.

Don't pass dispatcher in, just provide it globally.
Fix: Allow clicking through to profile from server sidebar.
This commit is contained in:
Paul
2021-07-05 10:59:48 +01:00
parent 02bbf78dcd
commit 7067627027
25 changed files with 226 additions and 149 deletions

View File

@@ -1,6 +1,6 @@
import { createStore } from "redux";
import rootReducer from "./reducers";
import localForage from "localforage";
import rootReducer, { Action } from "./reducers";
import { Core } from "revolt.js/dist/api/objects";
import { Typing } from "./reducers/typing";
@@ -77,3 +77,7 @@ store.subscribe(() => {
sectionToggle
});
});
export function dispatch(action: Action) {
store.dispatch(action);
}