mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Add prettier.
This commit is contained in:
@@ -2,13 +2,9 @@ import { IntlProvider } from "preact-i18n";
|
||||
import definition from "../../external/lang/en.json";
|
||||
|
||||
interface Props {
|
||||
children: JSX.Element | JSX.Element[]
|
||||
children: JSX.Element | JSX.Element[];
|
||||
}
|
||||
|
||||
export default function Locale({ children }: Props) {
|
||||
return (
|
||||
<IntlProvider definition={definition}>
|
||||
{ children }
|
||||
</IntlProvider>
|
||||
)
|
||||
return <IntlProvider definition={definition}>{children}</IntlProvider>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user