refactor(ext/popup): extract Login to types/login.ts on shared helpers
This commit is contained in:
@@ -38,6 +38,7 @@ export interface PopupState {
|
||||
// to the content script. See router/popup-only.ts#handleFillCredentials.
|
||||
capturedTabId: number | null;
|
||||
capturedUrl: string;
|
||||
newType: import('../shared/types').ItemType | null;
|
||||
}
|
||||
|
||||
let currentState: PopupState = {
|
||||
@@ -52,6 +53,7 @@ let currentState: PopupState = {
|
||||
loading: false,
|
||||
capturedTabId: null,
|
||||
capturedUrl: '',
|
||||
newType: null,
|
||||
};
|
||||
|
||||
export function getState(): PopupState {
|
||||
|
||||
Reference in New Issue
Block a user