Add trusted links to state

This commit is contained in:
Snazzah
2021-08-30 13:07:35 +00:00
committed by GitHub
parent 0ca99ddceb
commit 4c34787ef3
3 changed files with 44 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import { sectionToggle, SectionToggleAction } from "./section_toggle";
import { config, ConfigAction } from "./server_config";
import { settings, SettingsAction } from "./settings";
import { sync, SyncAction } from "./sync";
import { trustedLinks, TrustedLinksAction } from "./trusted_links";
import { unreads, UnreadsAction } from "./unreads";
export default combineReducers({
@@ -27,6 +28,7 @@ export default combineReducers({
lastOpened,
notifications,
sectionToggle,
trustedLinks,
});
export type Action =
@@ -42,4 +44,5 @@ export type Action =
| LastOpenedAction
| NotificationsAction
| SectionToggleAction
| TrustedLinksAction
| { type: "__INIT"; state: State };