Merge commit '538914def2' into kb_migration

This commit is contained in:
KMY 2023-04-04 21:35:19 +09:00
commit 130aaa0861
6 changed files with 92 additions and 75 deletions

View file

@ -1,6 +1,5 @@
// @ts-check
import React from 'react';
// @ts-expect-error
import { FormattedMessage } from 'react-intl';
/**

View file

@ -1,7 +1,6 @@
// @ts-check
import React from 'react';
import { Sparklines, SparklinesCurve } from 'react-sparklines';
// @ts-expect-error
import { FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
@ -92,9 +91,7 @@ const Hashtag = ({ name, to, people, uses, history, className, description, with
{withGraph && (
<div className='trends__item__sparkline'>
<SilentErrorBoundary>
{/* @ts-expect-error */}
<Sparklines width={50} height={28} data={history ? history : Array.from(Array(7)).map(() => 0)}>
{/* @ts-expect-error */}
<SparklinesCurve style={{ fill: 'none' }} />
</Sparklines>
</SilentErrorBoundary>

View file

@ -3008,6 +3008,8 @@ $ui-header-height: 55px;
margin-bottom: 10px;
display: flex;
flex-direction: row;
border-radius: 4px;
overflow: hidden;
a {
transition: background 100ms ease-in;
@ -7096,6 +7098,7 @@ noscript {
.drawer__pager {
height: 50vh;
border-radius: 4px;
}
.drawer__inner {