Skip to content

Commit d150745

Browse files
removed unused module.
1 parent d40471e commit d150745

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/Speaker/speaker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Image from 'next/image';
22
import React from 'react';
33
import { Speaker as SpeakerTypes } from '../../types/types';
4-
import { get } from 'cypress/types/lodash';
54

65
interface ISpeaker {
76
details: SpeakerTypes;
@@ -10,11 +9,12 @@ interface ISpeaker {
109
}
1110

1211
function Speaker({ details, location, className }: ISpeaker): JSX.Element {
13-
12+
1413
function getName(names: string[]){
1514
return `${names[0]} ${names[1]}`;
1615
}
1716
const shortenedName = details.name.length > 20 ? getName(details.name.split(' ')) : details.name;
17+
1818
return (
1919
<div
2020
className={`w-auto text-center flex flex-col items-center card rounded-md p-[27px] ${className}`}

0 commit comments

Comments
 (0)