mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
Modal changes
This commit is contained in:
@@ -227,7 +227,7 @@ export function Modals() {
|
||||
return <CreateEncryptionKeyModal key={name} options={options} />;
|
||||
|
||||
case 'fix-encryption-key':
|
||||
return <FixEncryptionKeyModal key={name} options={options} />;
|
||||
return <FixEncryptionKeyModal key={name} {...options} />;
|
||||
|
||||
case 'edit-field':
|
||||
return (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { type ComponentPropsWithoutRef } from 'react';
|
||||
|
||||
import {
|
||||
type AccountEntity,
|
||||
type AccountSyncSource,
|
||||
@@ -11,9 +13,8 @@ import {
|
||||
} from 'loot-core/types/models';
|
||||
import { type EmptyObject } from 'loot-core/types/util';
|
||||
|
||||
import { type FixEncryptionKeyModal } from '../../components/modals/FixEncryptionKeyModal';
|
||||
import * as constants from '../constants';
|
||||
import { ComponentPropsWithoutRef } from 'react';
|
||||
import { FixEncryptionKeyModal } from '../../components/modals/FixEncryptionKeyModal';
|
||||
|
||||
type NoOptions = EmptyObject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user