From 25bd1b554d0f5b25d06bd366f8cb8af8f74fc36c Mon Sep 17 00:00:00 2001 From: Gorbachev Egor <7gorbachevm@gmail.com> Date: Fri, 17 Nov 2023 12:31:05 +0700 Subject: [PATCH] prettier [skip ci] --- src/screens/deck-form/deck-form.tsx | 2 +- src/screens/deck-list/main-screen.tsx | 6 +++--- src/screens/deck-list/my-deck.tsx | 2 +- src/screens/deck-review/deck-finished.tsx | 2 +- src/screens/deck-review/deck-preview.tsx | 9 ++++++--- src/store/deck-form-store.test.ts | 2 +- src/store/deck-form-store.ts | 6 +++--- src/store/deck-list-store.ts | 8 ++++---- src/store/quick-add-card-form-store.ts | 2 +- src/store/review-store.test.ts | 6 +++--- src/store/review-store.ts | 4 ++-- src/store/screen-store.ts | 5 +---- src/ui/button.tsx | 2 +- src/ui/theme.tsx | 2 +- 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/screens/deck-form/deck-form.tsx b/src/screens/deck-form/deck-form.tsx index c1d83d91..81c54162 100644 --- a/src/screens/deck-form/deck-form.tsx +++ b/src/screens/deck-form/deck-form.tsx @@ -16,7 +16,7 @@ import { assert } from "../../lib/typescript/assert.ts"; export const DeckForm = observer(() => { const deckFormStore = useDeckFormStore(); const screen = screenStore.screen; - assert(screen.type === 'deckForm') + assert(screen.type === "deckForm"); useMount(() => { deckFormStore.loadForm(); diff --git a/src/screens/deck-list/main-screen.tsx b/src/screens/deck-list/main-screen.tsx index 8ac14d79..aff268b1 100644 --- a/src/screens/deck-list/main-screen.tsx +++ b/src/screens/deck-list/main-screen.tsx @@ -74,7 +74,7 @@ export const MainScreen = observer(() => { color: theme.linkColor, })} onClick={() => { - screenStore.go({ type: 'deckForm' }); + screenStore.go({ type: "deckForm" }); }} > create one @@ -88,7 +88,7 @@ export const MainScreen = observer(() => {