fix: issues and login page still had incorrect animations (#2979)

Issues dropdown and the login page transition including the language picker were set as fragments
This commit is contained in:
Brandon Cohen
2022-08-24 16:10:57 -04:00
committed by GitHub
parent 98028bf2f4
commit 095048d94a
5 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ import { Transition } from '@headlessui/react';
import { XCircleIcon } from '@heroicons/react/solid';
import axios from 'axios';
import { useRouter } from 'next/dist/client/router';
import { Fragment, useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import { defineMessages, useIntl } from 'react-intl';
import useSWR from 'swr';
@@ -93,7 +93,7 @@ const Login = () => {
>
<>
<Transition
as={Fragment}
as="div"
show={!!error}
enter="opacity-0 transition duration-300"
enterFrom="opacity-0"