Skip to content

Commit

Permalink
fix: regress inline svg to 3.0.3 version and updated radix dialog com…
Browse files Browse the repository at this point in the history
…ponent

#issue: #302
  • Loading branch information
Enciusan committed Apr 15, 2024
1 parent daa6e64 commit 62646e1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
24 changes: 15 additions & 9 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 @@ -34,7 +34,7 @@
"react-countdown": "2.3.5",
"react-dom": "18.2.0",
"react-hot-toast": "2.4.1",
"react-inlinesvg": "4.1.3",
"react-inlinesvg": "3.0.3",
"react-pdf": "7.7.1",
"react-router-dom": "6.22.2",
"react-slick": "0.30.2",
Expand Down
3 changes: 1 addition & 2 deletions src/libComponents/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ const Dialog = DialogPrimitive.Root;

const DialogTrigger = DialogPrimitive.Trigger;

const DialogPortal = ({ className, ...props }: DialogPrimitive.DialogPortalProps) => <DialogPrimitive.Portal className={cn(className)} {...props} />;
DialogPortal.displayName = DialogPrimitive.Portal.displayName;
const DialogPortal = DialogPrimitive.Portal;

const DialogOverlay = React.forwardRef<React.ElementRef<typeof DialogPrimitive.Overlay>, React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>>(
({ className, ...props }, ref) => (
Expand Down

0 comments on commit 62646e1

Please sign in to comment.