Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding of clear and cancel button in create preset form #8921

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clear and cancel button in create preset form
  • Loading branch information
Rishith25 committed Oct 25, 2024
commit 50fa2c804fefd0cfaa85d5f4e30457ed64c476ee
1 change: 0 additions & 1 deletion src/components/CameraFeed/ConfigureCamera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ export default function ConfigureCamera(props: Props) {

<div className="cui-form-button-group mt-4 flex w-full flex-col justify-end space-y-2 sm:flex-row sm:space-x-2 sm:space-y-0">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div className="cui-form-button-group mt-4 flex w-full flex-col justify-end space-y-2 sm:flex-row sm:space-x-2 sm:space-y-0">
<div className="cui-form-button-group">

<Cancel
shadow={false}
onClick={() => {
setCreatePreset(undefined);
setPresetName("");
Expand Down
Loading