Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Feb 15, 2024
1 parent 79e5721 commit bb066b7
Show file tree
Hide file tree
Showing 2 changed files with 1,762 additions and 1,405 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,21 @@ export default function CreatorsTabSection() {
await litContracts.pkpPermissionsContract.write.addPermittedAction(
tokenId,
newCollabAction,
[],
[1],
);

/*
const updatedIndex = await api!.updateIndex(viewedIndex?.id, {
signerFunction: cid,
});
await litContracts.pkpPermissionsContract.write.removePermittedAction(
tokenId,
previousCollabAction,
);
const updatedIndex = await api!.updateIndex(viewedIndex?.id, {
signerFunction: cid,
});
setViewedIndex(updatedIndex);
*/

//setViewedIndex(updatedIndex);
} catch (error) {
console.error("Error creating rule", error);
}
Expand Down
Loading

0 comments on commit bb066b7

Please sign in to comment.