Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Sep 17, 2024
1 parent e87db3d commit dfa994a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const languageTypeProxy = (language, type, noFallback) => {
);
};

const languageProxy = (language, noFallback = false) => {
export default function languageProxy(language, noFallback = false) {
return new Proxy(
{},
{
Expand All @@ -106,8 +106,4 @@ const languageProxy = (language, noFallback = false) => {
},
}
);
};

export default function (lang, noFallback = false) {
return languageProxy(lang, noFallback);
}

0 comments on commit dfa994a

Please sign in to comment.