fix: invites 3d (#218)

This commit is contained in:
diced 2022-11-10 19:36:40 -08:00
parent 3c782de64d
commit e00393936f
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -48,6 +48,7 @@ function CreateInviteModal({ open, setOpen, updateInvites }) {
'6h': Date.now() + 6 * 60 * 60 * 1000,
'12h': Date.now() + 12 * 60 * 60 * 1000,
'1d': Date.now() + 24 * 60 * 60 * 1000,
'3d': Date.now() + 3 * 24 * 60 * 60 * 1000,
'5d': Date.now() + 5 * 24 * 60 * 60 * 1000,
'7d': Date.now() + 7 * 24 * 60 * 60 * 1000,
}[values.expires]
@ -119,7 +120,7 @@ function CreateInviteModal({ open, setOpen, updateInvites }) {
);
}
export default function Uz2sers() {
export default function Invites() {
const router = useRouter();
const modals = useModals();
const clipboard = useClipboard();