Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed knowledgeBase.js, removed react-easy-emoji redundancy #1719

Open
wants to merge 2 commits into
base: edge
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client-admin/src/components/landers/knowledgeBase.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react'
import PropTypes from 'prop-types'
import { Box, Link } from 'theme-ui'
import emoji from 'react-easy-emoji'

Check failure on line 4 in client-admin/src/components/landers/knowledgeBase.js

View workflow job for this annotation

GitHub Actions / eslint

'emoji' is defined but never used

const KnowledgeBase = ({ e, url, txt }) => {
return (
<Box sx={{ my: [3] }}>
<Link target="_blank" href={url}>
<span style={{ marginRight: 12 }}>{emoji(e)}</span>
<span style={{ marginRight: 12 }}>{e}</span>
{txt}
</Link>
</Box>
Expand Down
Loading