Use non-deprecated type
This commit is contained in:
parent
46cdc5d567
commit
cfc1cf93b6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ interface StaffPreferencesProps {
|
||||||
onLocaleChange: (locale: Locale) => void;
|
onLocaleChange: (locale: Locale) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const StaffPreferences: React.StatelessComponent<StaffPreferencesProps> = ({
|
const StaffPreferences: React.FC<StaffPreferencesProps> = ({
|
||||||
locale,
|
locale,
|
||||||
onLocaleChange
|
onLocaleChange
|
||||||
}) => {
|
}) => {
|
||||||
|
|
Loading…
Reference in a new issue