Skip to content

Commit 5b4dbf3

Browse files
committed
[#67] πŸ’„ solve prettier build warnings by formatting
1 parent b5642de commit 5b4dbf3

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

β€Žsrc/app/providers.tsxβ€Ž

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
QueryClientProvider,
88
isServer,
99
} from '@tanstack/react-query'
10-
import { ReactNode } from 'react'
1110

1211
// In Next.js, this file would be called: app/providers.tsx
1312

@@ -38,7 +37,11 @@ function getQueryClient() {
3837
return browserQueryClient
3938
}
4039

41-
const Providers = ({ children }: { children: ReactNode }): JSX.Element => {
40+
const Providers = ({
41+
children,
42+
}: {
43+
children: React.ReactNode
44+
}): JSX.Element => {
4245
// NOTE: Avoid useState when initializing the query client if you don't
4346
// have a suspense boundary between this and the code that may
4447
// suspend because React will throw away the client on the initial

β€Žsrc/components/common/button/Clickable.test.tsxβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import React from 'react'
2+
13
import '@testing-library/jest-dom'
24
import { render, screen } from '@testing-library/react'
3-
import React from 'react'
45

56
import { Clickable, ClickableProps } from './Clickable'
67

β€Žsrc/components/common/input/TagInput.tsxβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { IcSearch } from '@/assets/IconList'
21
import { useState } from 'react'
32
import { Controller, useFormContext } from 'react-hook-form'
43

4+
import { IcSearch } from '@/assets/IconList'
5+
56
import { DeletableChip } from '../chip'
67
import { TextInput, TextInputProps } from './TextInput'
78

β€Žsrc/components/common/input/TextInput.tsxβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import clsx from 'clsx'
21
import { FieldValues, UseFormRegister } from 'react-hook-form'
2+
3+
import clsx from 'clsx'
34
import { twMerge } from 'tailwind-merge'
45

56
export interface TextInputProps

β€Žsrc/stories/common/input/CheckboxInput.stories.tsxβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import { Meta, StoryObj } from '@storybook/react'
21
import { useState } from 'react'
32

3+
import { Meta, StoryObj } from '@storybook/react'
4+
45
import { CheckboxInput } from '@/components/common/input/CheckboxInput'
56
import type { CheckboxInputProps } from '@/components/common/input/CheckboxInput'
67

0 commit comments

Comments
Β (0)