Skip to content

Commit

Permalink
hide delete button for new test
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay288 committed Sep 10, 2022
1 parent 6cdd12e commit bbbbebc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/TestEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ const TestEditor: React.FC<TestEditorProps> = React.memo(
Save
</Button>
<Button
hidden={isNewTest}
onClick={onDeleteClick}
isLoading={saving}
colorScheme={"red"}
Expand Down

0 comments on commit bbbbebc

Please sign in to comment.