diff --git a/packages/desktop-client/src/components/ManageRulesPage.tsx b/packages/desktop-client/src/components/ManageRulesPage.tsx index 6c943d9e828..ad57e2bd2d9 100644 --- a/packages/desktop-client/src/components/ManageRulesPage.tsx +++ b/packages/desktop-client/src/components/ManageRulesPage.tsx @@ -1,23 +1,11 @@ import React from 'react'; -import { useResponsive } from '../ResponsiveProvider'; -import { theme } from '../style'; - import { ManageRules } from './ManageRules'; import { Page } from './Page'; export function ManageRulesPage() { - const { isNarrowWidth } = useResponsive(); return ( - + ); diff --git a/packages/desktop-client/src/components/payees/ManagePayeesPage.jsx b/packages/desktop-client/src/components/payees/ManagePayeesPage.jsx index 57f56632a80..5939c95aa29 100644 --- a/packages/desktop-client/src/components/payees/ManagePayeesPage.jsx +++ b/packages/desktop-client/src/components/payees/ManagePayeesPage.jsx @@ -1,25 +1,14 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; -import { useResponsive } from '../../ResponsiveProvider'; -import { theme } from '../../style'; import { Page } from '../Page'; import { ManagePayeesWithData } from './ManagePayeesWithData'; export function ManagePayeesPage() { const location = useLocation(); - const { isNarrowWidth } = useResponsive(); return ( - +