Skip to content

Commit

Permalink
Changed the meta type to Partial<IMeta>
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz committed Sep 23, 2020
1 parent 4e1d616 commit c58121b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('CredentialsLogic', () => {
formErrors: [],
isCredentialsDataComplete: false,
isCredentialsDetailsComplete: false,
meta: null,
meta: {},
nameInputBlurred: false,
showCredentialsForm: false,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface ICredentialsLogicValues {
isCredentialsDataComplete: boolean;
isCredentialsDetailsComplete: boolean;
fullEngineAccessChecked: boolean;
meta: IMeta;
meta: Partial<IMeta>;
nameInputBlurred: boolean;
showCredentialsForm: boolean;
}
Expand Down Expand Up @@ -112,7 +112,7 @@ export const CredentialsLogic = kea<
},
],
meta: [
null,
{},
{
setCredentialsData: (_, { meta }) => meta,
},
Expand Down

0 comments on commit c58121b

Please sign in to comment.