Skip to content

Commit 7dcaf56

Browse files
committed
fix(Tenant): mapDispatchToProps types
1 parent 7195d0f commit 7dcaf56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ import './ObjectGeneral.scss';
1919

2020
const b = cn('object-general');
2121

22-
type ObjectGeneralProps = {
22+
interface ObjectGeneralProps {
2323
type: string;
2424
additionalTenantInfo?: any;
2525
additionalNodesInfo?: any;
26-
} & typeof mapDispatchToProps;
26+
setSettingValue: (name: string, value: string) => void;
27+
}
2728

2829
function ObjectGeneral(props: ObjectGeneralProps) {
2930
const location = useLocation();

0 commit comments

Comments
 (0)