forked from sombochea/verdaccio-ui
fix: typography Component - Introduced ForwardRef (#179)
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
82d7107de7
commit
a8deeb9b9d
@@ -6,7 +6,7 @@ import NoItems from '../NoItems';
|
||||
import { formatDateDistance } from '../../utils/package';
|
||||
import ListItem from '../../muiComponents/ListItem';
|
||||
|
||||
import { Heading, Spacer, ListItemText } from './styles';
|
||||
import { StyledText, Spacer, ListItemText } from './styles';
|
||||
|
||||
const UpLinks: React.FC = () => {
|
||||
const { packageMeta } = useContext(DetailContext);
|
||||
@@ -23,7 +23,7 @@ const UpLinks: React.FC = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Heading variant="subtitle1">{'Uplinks'}</Heading>
|
||||
<StyledText variant="subtitle1">{'Uplinks'}</StyledText>
|
||||
<List>
|
||||
{Object.keys(uplinks)
|
||||
.reverse()
|
||||
|
||||
Reference in New Issue
Block a user