Skip to content

Commit 6aae3f3

Browse files
fix: ai fixes
1 parent 0143ceb commit 6aae3f3

File tree

95 files changed

+81
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+81
-73
lines changed

.storybook/components/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { CodeBlock, shadesOfPurple } from 'react-code-blocks';
33

4-
export const Code = ({ children }) => (
4+
export const Code = ({ children }: { children: string }) => (
55
<CodeBlock
66
text={children}
77
language="jsx"

.storybook/manager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const theme = create({
1111
brandTitle: '⚛️ React Design Patterns',
1212
brandUrl: 'https://example.com',
1313
brandTarget: '_self',
14-
//
1514
colorPrimary: '#ffffff',
1615
colorSecondary: '#A599E9',
1716

src/course/02- lessons/01-Bronze/Hooks/components.tsx renamed to src/course/02-lessons/01-Bronze/Hooks/components.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Label } from '@shared/components/Label/Label.component';
33
import { ErrorMessage } from '@shared/components/ErrorMessage/ErrorMessage.component';
44
import { HTMLAttributes } from 'react';
55

6-
export interface ITextFieldProps {
6+
export interface TextFieldProps {
77
hasError: boolean;
88
errorMessage?: string;
99
id: string;
@@ -19,7 +19,7 @@ export const TextFieldComponent = ({
1919
id,
2020
name,
2121
label
22-
}: ITextFieldProps) => (
22+
}: TextFieldProps) => (
2323
<div className="flex flex-col gap-2">
2424
<Label htmlFor={id}>{label}</Label>
2525
<Input id={id} name={name} hasError={hasError} {...input} />

0 commit comments

Comments
 (0)