Browse Source

fix: useless rerenders

develop
Ezerous 4 years ago
parent
commit
25478f467c
  1. 4
      packages/concordia-app/src/components/Status/StatusValueRow.jsx

4
packages/concordia-app/src/components/Status/StatusValueRow.jsx

@ -1,4 +1,4 @@
import React from 'react'; import React, { memo } from 'react';
import { Table } from 'semantic-ui-react'; import { Table } from 'semantic-ui-react';
import { CopyToClipboard } from 'react-copy-to-clipboard'; import { CopyToClipboard } from 'react-copy-to-clipboard';
@ -19,4 +19,4 @@ const StatusValueRow = (props) => {
); );
}; };
export default StatusValueRow; export default memo(StatusValueRow);

Loading…
Cancel
Save