aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-10 11:48:05 +0300
committereug-vs <eug-vs@keemail.me>2020-10-10 11:48:05 +0300
commita1a2cb59616d833d503c3c090116fc0ad1e9d542 (patch)
tree230700174a754add5ed962e9315166070241afbd /src/components
parent4a8149c0c43419e29cedd5117b6441bf7e6eadcd (diff)
downloadwhich-ui-a1a2cb59616d833d503c3c090116fc0ad1e9d542.tar.gz
fix: resolve eslint errors
Diffstat (limited to 'src/components')
-rw-r--r--src/components/DateString/DateString.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/DateString/DateString.tsx b/src/components/DateString/DateString.tsx
index 3f2ceb2..7c824cd 100644
--- a/src/components/DateString/DateString.tsx
+++ b/src/components/DateString/DateString.tsx
@@ -32,7 +32,7 @@ const DateString: React.FC<PropTypes> = ({ value }) => {
const compact = useMemo(() => compactDateString(date), [date]);
return (
- <div className={classes.root} onClick={toggleScompact}>
+ <div role="presentation" className={classes.root} onClick={toggleScompact}>
{isCompact ? compact : formatted}
</div>
);