Skip to content

Commit

Permalink
Remove a warning from eslint
Browse files Browse the repository at this point in the history
The weird thing is, this pattern occurs in other place as well.
But only this place is corrected.
  • Loading branch information
louischan-oursky committed Dec 11, 2024
1 parent f36a96c commit ad075ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion portal/src/TextFieldWithCopyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const TextFieldWithCopyButton: React.VFC<TextFieldWithCopyButtonProps> =
function TextFieldWithCopyButton(props: TextFieldWithCopyButtonProps) {
const { disabled, additionalIconButtons, ...rest } = props;
const { themes } = useSystemConfig();
// eslint-disable-next-line no-useless-assignment
const { copyButtonProps, Feedback } = useCopyFeedback({
textToCopy: props.value ?? "",
});
Expand Down

0 comments on commit ad075ad

Please sign in to comment.