Add deprecation notice (#410)

This commit is contained in:
Sung Won Cho 2020-02-06 13:08:44 +10:00 committed by GitHub
commit f35cb307b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,6 +126,11 @@ const Digest: React.FunctionComponent<Props> = ({ location, match }) => {
<Header digest={digest.data} isFetched={digest.isFetched} />
<div className="container mobile-fw">
<Flash kind="danger" wrapperClassName={styles.flash}>
Spaced repetition is deprecated and will be removed in the next major
release.
</Flash>
<Toolbar
digestUUID={digest.data.uuid}
sort={params.sort}