Skip to content

Commit

Permalink
fix: updated @types/react package
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcodes committed May 14, 2024
1 parent ddeac6e commit 07d01a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
4 changes: 2 additions & 2 deletions lib/@dsvgui/components/article/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import { Article } from "./index";
import { Article, IArticle } from "./index";
import { readImageURL } from "@/lib/@dsvgui/utils";

const meta: Meta<typeof Article> = {
Expand All @@ -16,7 +16,7 @@ const meta: Meta<typeof Article> = {
};
export default meta;

type Story = StoryObj<typeof Article>;
type Story = StoryObj<IArticle>;

export const Base: Story = {
args: {
Expand Down
2 changes: 1 addition & 1 deletion lib/@dsvgui/document/document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Document: React.FC<IDocumentProps> = (props) => {
w + margin + padding
} ${h + margin + padding}`}
fill="none"
{...rest}
// {...rest}
dangerouslySetInnerHTML={undefined}
>
<Style />
Expand Down
15 changes: 4 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@types/passport-github2": "^1.2.5",
"@types/passport-oauth2": "^1.4.12",
"@types/passport-oauth2-refresh": "^1.1.1",
"@types/react": "18.0.24",
"@types/react": "^18.3.2",
"@types/react-dom": "18.0.8",
"@types/testing-library__jest-dom": "^5.14.5",
"autoprefixer": "^10.4.14",
Expand Down

0 comments on commit 07d01a2

Please sign in to comment.