rename ExtensionLangSelect: generic name for generic use

This commit is contained in:
Aria Moradi
2021-10-18 14:24:11 +03:30
parent 35da3b76c8
commit 438a2d8212
5 changed files with 10 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ interface IProps {
forcedLangs?: string[]
}
export default function ExtensionLangSelect(props: IProps) {
export default function LangSelect(props: IProps) {
const {
shownLangs, setShownLangs, allLangs, forcedLangs,
} = props;
@@ -125,6 +125,6 @@ export default function ExtensionLangSelect(props: IProps) {
);
}
ExtensionLangSelect.defaultProps = {
LangSelect.defaultProps = {
forcedLangs: [] as string[],
};