diff --git a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png index 27dcbb7b3ad..5965ecaa59d 100644 Binary files a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png and b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png differ diff --git a/packages/desktop-client/src/components/AnimatedRefresh.tsx b/packages/desktop-client/src/components/AnimatedRefresh.tsx index 731016bfa5f..b80bd955a71 100644 --- a/packages/desktop-client/src/components/AnimatedRefresh.tsx +++ b/packages/desktop-client/src/components/AnimatedRefresh.tsx @@ -1,8 +1,9 @@ -import React, { type CSSProperties } from 'react'; +import React from 'react'; import { keyframes } from 'glamor'; import Refresh from '../icons/v1/Refresh'; +import { type CSSProperties } from '../style'; import View from './common/View'; @@ -22,7 +23,7 @@ export default function AnimatedRefresh({ }: AnimatedRefreshProps) { return ( diff --git a/packages/desktop-client/src/components/DevelopmentTopBar.tsx b/packages/desktop-client/src/components/DevelopmentTopBar.tsx index 581f06f79c5..ca90ee74a27 100644 --- a/packages/desktop-client/src/components/DevelopmentTopBar.tsx +++ b/packages/desktop-client/src/components/DevelopmentTopBar.tsx @@ -6,19 +6,17 @@ import View from './common/View'; export default function DevelopmentTopBar() { return ( This is a demo build of Actual. diff --git a/packages/desktop-client/src/components/LoggedInUser.tsx b/packages/desktop-client/src/components/LoggedInUser.tsx index e92c4a53283..4f432c8077f 100644 --- a/packages/desktop-client/src/components/LoggedInUser.tsx +++ b/packages/desktop-client/src/components/LoggedInUser.tsx @@ -1,8 +1,8 @@ -import React, { useState, useEffect, type CSSProperties } from 'react'; +import React, { useState, useEffect } from 'react'; import { useSelector } from 'react-redux'; import { useActions } from '../hooks/useActions'; -import { colors, styles } from '../style'; +import { colors, styles, type CSSProperties } from '../style'; import Button from './common/Button'; import Menu from './common/Menu'; @@ -77,14 +77,12 @@ export default function LoggedInUser({ if (loading && serverUrl) { return ( Connecting... @@ -92,7 +90,7 @@ export default function LoggedInUser({ } return ( - + diff --git a/packages/desktop-client/src/components/NotesButton.tsx b/packages/desktop-client/src/components/NotesButton.tsx index 3b46eb879d7..90affc93468 100644 --- a/packages/desktop-client/src/components/NotesButton.tsx +++ b/packages/desktop-client/src/components/NotesButton.tsx @@ -1,13 +1,13 @@ import React, { createRef, useState, useEffect } from 'react'; -import { type CSSProperties, css } from 'glamor'; +import { css } from 'glamor'; import q from 'loot-core/src/client/query-helpers'; import { useLiveQuery } from 'loot-core/src/client/query-hooks'; import { send } from 'loot-core/src/platform/client/fetch'; import CustomNotesPaper from '../icons/v2/CustomNotesPaper'; -import { colors } from '../style'; +import { type CSSProperties, colors } from '../style'; import Button from './common/Button'; import Text from './common/Text'; @@ -52,13 +52,13 @@ function NotesTooltip({ /> ) : ( {notes} @@ -114,19 +114,19 @@ export default function NotesButton({ return ( )} {/* eslint-disable-next-line rulesdir/typography */} {monthUtils.format(currentMonth, "MMMM ''yy")} @@ -1000,10 +1005,13 @@ function BudgetHeader({