Skip to content

Commit

Permalink
move type to const instead of props
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Jun 26, 2019
1 parent 4238560 commit 933c93f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const VmTempleateTableHeader = () => {
};
VmTempleateTableHeader.displayName = 'VmTemplateTableHeader';

const VmTemplateTableRow = ({ template, index, key, style }: VmTemplateTableRowProps) => {
const VmTemplateTableRow: React.FC<VmTemplateTableRowProps> = ({ template, index, key, style }) => {
const os = getTemplateOperatingSystems([template])[0];

return (
Expand Down

0 comments on commit 933c93f

Please sign in to comment.