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

@@ -28,7 +28,7 @@ import axios from 'axios';
import { Field, Form, Formik } from 'formik';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { Fragment, useState } from 'react';
import { useState } from 'react';
import { defineMessages, FormattedRelativeTime, useIntl } from 'react-intl';
import { useToasts } from 'react-toast-notifications';
import useSWR from 'swr';
@@ -174,7 +174,7 @@ const IssueDetails = () => {
>
<PageTitle title={[intl.formatMessage(messages.issuepagetitle), title]} />
<Transition
as={Fragment}
as="div"
enter="transition opacity-0 duration-300"
enterFrom="opacity-0"
enterTo="opacity-100"