Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamraj-git committed Dec 15, 2024
1 parent 48ed98f commit adf87f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/ui/src/pages/Variables/AddVariableForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type AddVariableFormProps = {
};

const AddVariableForm: React.FC<AddVariableFormProps> = ({ onClose }) => {
const { addVariable, error: errorAdd, isPending } = useAddVariable(onClose);
const { addVariable, error, isPending } = useAddVariable(onClose);
const addVariableParams: AddVariableBody = useMemo(
() => ({
description: undefined,
Expand Down Expand Up @@ -68,7 +68,7 @@ const AddVariableForm: React.FC<AddVariableFormProps> = ({ onClose }) => {

return (
<>
<ErrorAlert error={errorAdd} />
<ErrorAlert error={error} />
<Text fontSize="md" mb={2} mt={4}>
Key <span style={{ color: "red" }}>*</span>
</Text>
Expand Down

0 comments on commit adf87f4

Please sign in to comment.