update pushmodal
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
"next-themes": "^0.2.1",
|
||||
"nuqs": "^1.16.1",
|
||||
"prisma-error-enum": "^0.1.3",
|
||||
"pushmodal": "^0.0.8",
|
||||
"pushmodal": "^1.0.0",
|
||||
"ramda": "^0.29.1",
|
||||
"random-animal-name": "^0.1.1",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -5,8 +5,13 @@ import dynamic from 'next/dynamic';
|
||||
import { createPushModal } from 'pushmodal';
|
||||
|
||||
import type { ConfirmProps } from './Confirm';
|
||||
import { ModalContent } from './Modal/Container';
|
||||
|
||||
const Loading = () => <Loader className="mb-8 animate-spin" size={40} />;
|
||||
const Loading = () => (
|
||||
<ModalContent className="flex items-center justify-center p-16">
|
||||
<Loader className="animate-spin" size={40} />
|
||||
</ModalContent>
|
||||
);
|
||||
|
||||
const modals = {
|
||||
EditProject: dynamic(() => import('./EditProject'), {
|
||||
|
||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -301,8 +301,8 @@ importers:
|
||||
specifier: ^0.1.3
|
||||
version: 0.1.3
|
||||
pushmodal:
|
||||
specifier: ^0.0.8
|
||||
version: 0.0.8(@radix-ui/react-dialog@1.0.5)(react-dom@18.2.0)(react@18.2.0)
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0(@radix-ui/react-dialog@1.0.5)(react-dom@18.2.0)(react@18.2.0)
|
||||
ramda:
|
||||
specifier: ^0.29.1
|
||||
version: 0.29.1
|
||||
@@ -14709,8 +14709,8 @@ packages:
|
||||
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
/pushmodal@0.0.8(@radix-ui/react-dialog@1.0.5)(react-dom@18.2.0)(react@18.2.0):
|
||||
resolution: {integrity: sha512-Fmsx9Fadnv51WPcXvX7x4N8BbLxMDdSStpfJ1WY4pyjqXEEht+3H51TwjZJc5PkGMURdsvi7py76SFgsmrujnw==}
|
||||
/pushmodal@1.0.0(@radix-ui/react-dialog@1.0.5)(react-dom@18.2.0)(react@18.2.0):
|
||||
resolution: {integrity: sha512-34JSZHJHGTcLqBgYk9Fyiw5vBYJZrcgoDE7GfHehKKzxBt/Ro2bSLTIGRnzQ+NRv389GxH6WXCBUH+6VJ1wvTg==}
|
||||
peerDependencies:
|
||||
'@radix-ui/react-dialog': ^1.0.0
|
||||
react: ^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0
|
||||
|
||||
Reference in New Issue
Block a user