Remove the removeScroll attribute in the modal

This commit is contained in:
Arnaud 2024-09-27 19:25:55 +02:00
parent 7044f48daa
commit ecf1fd5f0a
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.10",
"version": "0.0.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.10",
"version": "0.0.11",
"license": "MIT",
"dependencies": {
"lucide-react": "^0.441.0"

View File

@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.10",
"version": "0.0.11",
"type": "module",
"scripts": {
"prepack": "npm run build",

View File

@ -69,7 +69,7 @@ export function Modal({
}: Props) {
return (
<>
<Backdrop open={open} onClose={onClose} removeScroll={true} />
<Backdrop open={open} onClose={onClose} />
<div className={classnames(["modal"], ["modal--open", open])}>
<div className="modal-body">{open && children}</div>