replaced viewteam modal with new modal

This commit is contained in:
daniel31x13
2023-12-01 12:17:00 -05:00
parent 732a5227d3
commit d40373032a
2 changed files with 13 additions and 13 deletions
@@ -17,7 +17,6 @@ import useAccountStore from "@/store/account";
import usePermissions from "@/hooks/usePermissions";
import ProfilePhoto from "../ProfilePhoto";
import addMemberToCollection from "@/lib/client/addMemberToCollection";
import Checkbox from "../Checkbox";
type Props = {
modalId: string;
@@ -171,8 +170,8 @@ export default function EditCollectionSharingModal({
)}
{collection.isPublic ? (
<div className="pl-5">
<p className="mb-2">Public Link (Click to copy)</p>
<div className={permissions === true ? "pl-5" : ""}>
<p className="mb-2">Sharable Link (Click to copy)</p>
<div
onClick={() => {
try {