Remove sidebar reducer, which couple web-client with web-component

This commit is contained in:
Alejandro Celaya
2023-08-06 18:07:03 +02:00
parent c3b6ce34ba
commit 5a9640bd57
10 changed files with 38 additions and 87 deletions

View File

@@ -1,5 +1,4 @@
import type { Settings } from '@shlinkio/shlink-web-component';
import type { Sidebar } from '../common/reducers/sidebar';
import type { SelectedServer, ServersMap } from '../servers/data';
export interface ShlinkState {
@@ -7,7 +6,6 @@ export interface ShlinkState {
selectedServer: SelectedServer;
settings: Settings;
appUpdated: boolean;
sidebar: Sidebar;
}
export type ConnectDecorator = (props: string[] | null, actions?: string[]) => any;