mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Revert change for now
This commit is contained in:
parent
53ffee91b4
commit
a0204e7d9a
|
@ -13,8 +13,8 @@ const Tag = ({ spaced, variant, tooltip, children }) => {
|
||||||
const tooltipText = `This feature is new and was introduced in spaCy v${version}`
|
const tooltipText = `This feature is new and was introduced in spaCy v${version}`
|
||||||
// TODO: we probably want to handle this more elegantly, but the idea is
|
// TODO: we probably want to handle this more elegantly, but the idea is
|
||||||
// that we can hide tags referring to old versions
|
// that we can hide tags referring to old versions
|
||||||
const hideTag = version.startsWith('2')
|
// const hideTag = version.startsWith('2')
|
||||||
return hideTag ? null : (
|
return (
|
||||||
<TagTemplate spaced={spaced} tooltip={tooltipText}>
|
<TagTemplate spaced={spaced} tooltip={tooltipText}>
|
||||||
v{version}
|
v{version}
|
||||||
</TagTemplate>
|
</TagTemplate>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user