From aba523cbee5137c8d7ee5082b5572e2157c8da32 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Thu, 20 Apr 2023 12:41:06 +0300 Subject: [PATCH 1/6] rotate arrows in rtl --- components/pages/dashboard/Dashboard.js | 6 ++++-- components/pages/settings/teams/TeamsTable.js | 4 +++- components/pages/websites/WebsiteMenuView.js | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/components/pages/dashboard/Dashboard.js b/components/pages/dashboard/Dashboard.js index 6497aba4..26054347 100644 --- a/components/pages/dashboard/Dashboard.js +++ b/components/pages/dashboard/Dashboard.js @@ -10,6 +10,7 @@ import EmptyPlaceholder from 'components/common/EmptyPlaceholder'; import useApi from 'hooks/useApi'; import useDashboard from 'store/dashboard'; import useMessages from 'hooks/useMessages'; +import useLocale from 'hooks/useLocale'; export default function Dashboard({ userId }) { const { formatMessage, labels, messages } = useMessages(); @@ -19,6 +20,7 @@ export default function Dashboard({ userId }) { const { get, useQuery } = useApi(); const { data, isLoading, error } = useQuery(['websites'], () => get('/websites', { userId })); const hasData = data && data.length !== 0; + const { dir } = useLocale(); function handleMore() { setMax(max + limit); @@ -33,7 +35,7 @@ export default function Dashboard({ userId }) {