(theme: ThemeOption)
| 272 | } |
| 273 | |
| 274 | const commitTheme = (theme: ThemeOption): void => { |
| 275 | setTheme({ id: theme.id, family: theme.family, mode: theme.mode }) |
| 276 | committedRef.current = true |
| 277 | setOpen(false) |
| 278 | focusEditorNormalMode() |
| 279 | } |
| 280 | |
| 281 | const switchVault = async (entry: VaultRow): Promise<void> => { |
| 282 | setOpen(false) |
no test coverage detected