Skip to content
Snippets Groups Projects
Commit a7170e13 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

fix(Logo): Used get utility for lodash

parent 8a2dea70
No related branches found
No related tags found
2 merge requests!110Sprint 21 Features,!94Hin 979
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
import React from 'react'
import { get } from 'lodash'
const Logo = ({ src, onClick, title, height = 36, ...rest }) => (
<img
alt={title}
data-test-id={rest['data-test-id'] || 'journal-logo'}
data-test-id={get(rest, 'data-test-id', 'journal-logo')}
height={height}
onClick={onClick}
src={src}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment