Skip to content

Commit 1bc2532

Browse files
committed
formatting
1 parent 598bbe7 commit 1bc2532

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.storybook/i18next.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const ns = [
2121
"page-upgrades",
2222
"page-developers-index",
2323
"page-what-is-ethereum",
24-
"page-upgrades-index"
24+
"page-upgrades-index",
2525
] as const
2626
const supportedLngs = Object.keys(baseLocales)
2727

src/@chakra-ui/components/Accordion.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ const { defineMultiStyleConfig, definePartsStyle } =
66

77
const baseStyle = definePartsStyle({
88
container: {
9-
'& > :is(h2, h3)': {
9+
"& > :is(h2, h3)": {
1010
fontSize: "initial",
11-
fontWeight: 'initial'
12-
}
11+
fontWeight: "initial",
12+
},
1313
},
1414
button: {
1515
py: "2",

src/components/MergeInfographic/MergeInfographic.stories.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { Box } from "@chakra-ui/react"
22
import { Meta, StoryObj } from "@storybook/react"
33

4+
import { ContentContainer } from "@/components/MdComponents"
5+
46
import { langViewportModes } from "../../../.storybook/modes"
5-
import { ContentContainer } from "../MdComponents"
67

78
import MergeInfographicComponent from "."
89

@@ -24,12 +25,12 @@ const meta = {
2425
<Story />
2526
</ContentContainer>
2627
</Box>
27-
)
28-
]
28+
),
29+
],
2930
} satisfies Meta<typeof MergeInfographicComponent>
3031

3132
export default meta
3233

33-
type Story = StoryObj<typeof meta>;
34+
type Story = StoryObj<typeof meta>
3435

3536
export const MergeInfographic: Story = {}

src/components/ui/__stories__/Heading.stories.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const meta = {
2020
},
2121
decorators: [
2222
(Story) => (
23-
<Center className='flex-col min-h-[100vh]'>
23+
<Center className="min-h-[100vh] flex-col">
2424
<Story />
2525
</Center>
2626
),
@@ -31,7 +31,7 @@ export default meta
3131

3232
type Story = StoryObj<typeof meta>
3333

34-
const headings = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] as const
34+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"] as const
3535

3636
export const Heading: Story = {
3737
render: () => (
@@ -42,9 +42,7 @@ export const Heading: Story = {
4242
</div>
4343
<Stack>
4444
{headings.map((Heading) => (
45-
<Heading key={Heading}>
46-
{`${Heading} base component`}
47-
</Heading>
45+
<Heading key={Heading}>{`${Heading} base component`}</Heading>
4846
))}
4947
</Stack>
5048
</>

0 commit comments

Comments
 (0)