Skip to content

Commit 1a73a83

Browse files
committed
Added typescript to a component in RenderingFrequency.tsx
1 parent 83c8284 commit 1a73a83

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/components/RenderingFrequency.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* eslint-disable jsx-a11y/no-static-element-interactions */
33
/* eslint-disable react/prop-types */
44
import React, { useState, useEffect } from 'react';
5-
import { render } from 'react-dom';
65
import { onHover, onHoverExit, setCurrentTabInApp } from '../actions/actions';
76
import { useStoreContext } from '../store';
87

@@ -35,13 +34,12 @@ const RenderingFrequency = props => {
3534
);
3635
};
3736

38-
const ComponentCard = props => {
37+
const ComponentCard = (props): JSX.Element => {
3938
const {
4039
componentName,
4140
stateType,
4241
averageRenderTime,
4342
renderFrequency,
44-
rtid,
4543
information,
4644
} = props;
4745
const [{ tabs, currentTab }, dispatch] = useStoreContext();

0 commit comments

Comments
 (0)