Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const useSpaceActionsUploadImage = ({ spaceImageInput }: { spaceImageInpu

const showModalImageSpace = (event: InputEvent) => {
const file = (event.currentTarget as HTMLInputElement).files[0]
unref(spaceImageInput).value = ''
;(event.currentTarget as HTMLInputElement).value = ''
Copy link

Copilot AI Jun 26, 2025

Choose a reason for hiding this comment

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

[nitpick] Instead of adding a semicolon before the assignment as a workaround for auto semicolon insertion, consider reviewing the surrounding code style to maintain consistency across the codebase. If the unref(spaceImageInput) reference is no longer used elsewhere, consider safely removing it to avoid redundancy.

Suggested change
;(event.currentTarget as HTMLInputElement).value = ''
(event.currentTarget as HTMLInputElement).value = ''

Copilot uses AI. Check for mistakes.

dispatchModal({
title: $gettext('Crop your Space image'),
Expand Down
Loading