X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/67d7540c8d035c70091457ea4b0f2d554a16bf84..605e792e4854c7aad2f08e08fa7a8d9eba9d64a1:/src/store/collections/creator/collection-creator-reducer.ts diff --git a/src/store/collections/creator/collection-creator-reducer.ts b/src/store/collections/creator/collection-creator-reducer.ts index 140cbbea45..72c999d0d1 100644 --- a/src/store/collections/creator/collection-creator-reducer.ts +++ b/src/store/collections/creator/collection-creator-reducer.ts @@ -4,14 +4,12 @@ import { collectionCreateActions, CollectionCreateAction } from './collection-creator-action'; -export type CollectionCreatorState = CollectionCreator; - -interface CollectionCreator { +export interface CollectionCreatorState { opened: boolean; ownerUuid: string; } -const updateCreator = (state: CollectionCreatorState, creator?: Partial) => ({ +const updateCreator = (state: CollectionCreatorState, creator?: Partial) => ({ ...state, ...creator });