Skip to content

Commit

Permalink
remove extraneous console.log and code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Bergeron committed Aug 3, 2023
1 parent 2b9abc2 commit 5ef6e9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions app/src/renderer/apps/Spaces/Workflow/EditSpace/EditSpace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ const EditSpacePresenter = ({ edit, workflowState, setState }: Props) => {
if (existingSpace) {
initialValues = {
...initialValues,
path: existingSpace?.path,
name: existingSpace?.name || '',
description: existingSpace?.description || '',
color: existingSpace?.color || '#000000',
picture: existingSpace?.picture || '',
access: (existingSpace?.access as AccessOptionType) || 'public',
crestOption: existingSpace?.picture ? 'image' : 'color',
theme: toJS(existingSpace?.theme),
path: existingSpace.path,
name: existingSpace.name || '',
description: existingSpace.description || '',
color: existingSpace.color || '#000000',
picture: existingSpace.picture || '',
access: (existingSpace.access as AccessOptionType) || 'public',
crestOption: existingSpace.picture ? 'image' : 'color',
theme: toJS(existingSpace.theme),
};
}

Expand Down
1 change: 0 additions & 1 deletion app/src/renderer/apps/Spaces/Workflow/workflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ export const spacesDialogs: DialogRenderers = {
hasPrevious: () => true,
nextButtonText: 'Create Space',
onNext: (_evt: any, state: any, setState: any) => {
console.log('state', state);
setState({
...state,
loading: true,
Expand Down

0 comments on commit 5ef6e9e

Please sign in to comment.