Skip to content

Commit

Permalink
Removed whitelist population
Browse files Browse the repository at this point in the history
  • Loading branch information
angarita-dev committed Aug 22, 2022
1 parent a2492ce commit 86f4f65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/views/Popup/components/AllowAgent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,10 @@ const AllowAgent = ({
const [expand, setExpand] = useState(false);

const handleAllowAgent = async (status) => {
const whitelist = canisters.reduce(
(accum, canisterInfo) => ({ ...accum, [canisterInfo.id]: canisterInfo }),
{},
);
reviewPendingTransaction(transactionId, () => {});
const success = await portRPC.call('handleAllowAgent', [
url,
{ status, whitelist },
{ status },
callId,
portId,
transactionId,
Expand Down

0 comments on commit 86f4f65

Please sign in to comment.