Skip to content

Commit

Permalink
fix(readme): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cxspxr committed Oct 23, 2022
1 parent 51e9889 commit fa10a93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,13 @@ const formatDate = (date: Date) => {
return `${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}.${date.getMilliseconds()}`;
};

type ExtremelyPreciseClock = {
type ExtremelyPreciseClockProps = {
isTicking: boolean;
};

export const ExtremelyPreciseClock: React.FC<ClockProps> = ({ isTicking }) => {
export const ExtremelyPreciseClock: React.FC<ExtremelyPreciseClockProps> = ({
isTicking,
}) => {
const [currentTime, setCurrentTime] = useState<string>(
formatDate(new Date())
);
Expand Down

0 comments on commit fa10a93

Please sign in to comment.