Skip to content

Commit 0b2c8de

Browse files
committed
Preparing for React 18: remove deprecated React.SFC
1 parent 8d4edab commit 0b2c8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/frontend/Notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Notifications: React.FC = () => {
2121
);
2222
};
2323

24-
const RustSurvey2022Notification: React.SFC = () => {
24+
const RustSurvey2022Notification: React.FC = () => {
2525
const showRustSurvey2022 = useSelector(selectors.showRustSurvey2022Selector);
2626

2727
const dispatch = useDispatch();

0 commit comments

Comments
 (0)