fix: cashflow service Arabic localization.

This commit is contained in:
a.bouhuolia
2021-10-27 22:39:45 +02:00
parent b0f1584b04
commit 0b5c5d83a4
12 changed files with 187 additions and 158 deletions

View File

@@ -0,0 +1,9 @@
import React from 'react';
import { ThemeProvider } from 'styled-components';
import { useAppIntlContext } from '../AppIntlProvider';
export function DashboardThemeProvider({ children }) {
const { direction } = useAppIntlContext();
return <ThemeProvider theme={{ dir: direction }}>{children}</ThemeProvider>;
}