Skip to content

Commit

Permalink
the React.FC type should be no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
tyn1998 committed Mar 8, 2023
1 parent ee4dd44 commit 46b1238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

const View: React.FC = () => {
const View = (): JSX.Element => {
return (
<div
data-view-component="true"
Expand Down

0 comments on commit 46b1238

Please sign in to comment.