Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/unkeyed/unkey
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Oct 30, 2024
2 parents a5dcccc + 4500782 commit 2a89ac2
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ export const CreateNewOverride: React.FC<Props> = ({ namespaceId }) => {
}
const router = useRouter();

const error =
form.formState.errors.duration ??
form.formState.errors.identifier ??
form.formState.errors.limit;

return (
<Card>
<CardHeader>
Expand Down Expand Up @@ -176,7 +171,6 @@ export const CreateNewOverride: React.FC<Props> = ({ namespaceId }) => {
<Button disabled={create.isLoading || !form.formState.isValid} type="submit">
{create.isLoading ? <Loading /> : "Create"}
</Button>
{error ? <span className="text-sm text-alert">{error.message}</span> : null}
</CardFooter>
</form>
</Form>
Expand Down

0 comments on commit 2a89ac2

Please sign in to comment.