Use non-deprecated type

This commit is contained in:
dominik-zeglen 2019-10-21 14:05:55 +02:00
parent 46cdc5d567
commit cfc1cf93b6

View file

@ -15,7 +15,7 @@ interface StaffPreferencesProps {
onLocaleChange: (locale: Locale) => void;
}
const StaffPreferences: React.StatelessComponent<StaffPreferencesProps> = ({
const StaffPreferences: React.FC<StaffPreferencesProps> = ({
locale,
onLocaleChange
}) => {