Skip to content

Commit

Permalink
Update texts
Browse files Browse the repository at this point in the history
  • Loading branch information
laushinka authored and roboquat committed Sep 16, 2021
1 parent c70fbf0 commit d1a0264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/workspaces/WorkspaceEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function WorkspaceEntry({ desc, model, isAdmin, stopWorkspace }: Props) {

try {
if (renameInputRef.current!.value.length === 0) {
setErrorMessage('Description must not be empty.');
setErrorMessage('Description cannot not be empty.');
return false;
}

Expand Down Expand Up @@ -183,7 +183,7 @@ export function WorkspaceEntry({ desc, model, isAdmin, stopWorkspace }: Props) {
</div>
<div className="flex justify-end mt-6">
<button className="secondary" onClick={() => setRenameModalVisible(false)}>Cancel</button>
<button className="ml-2" type="submit" onClick={updateWorkspaceDescription}>Rename</button>
<button className="ml-2" type="submit" onClick={updateWorkspaceDescription}>Update Description</button>
</div>
</Modal>
</Item>;
Expand Down

0 comments on commit d1a0264

Please sign in to comment.