Skip to content

Commit

Permalink
Merge pull request #809 from TrustlessComputer/feat/update-flow-v2
Browse files Browse the repository at this point in the history
Feat/update flow v2
  • Loading branch information
0xd22f9c authored Sep 13, 2024
2 parents a1b1a8d + 3a96857 commit 2f87fb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ const useAutoUpdateNodePosition = () => {
nodes.forEach((node: AppNode) => {
const _node = node as unknown as AppNode;

if (_node.data.node !== 'dapp' || !l2ServiceUserAddress) return;
if (_node.data.node != 'template' || !l2ServiceUserAddress) return;

const { data } = _node as DappNode;
if (data.dapp.isDefaultDapp || !!!data.positionId) return;
if (data.dapp?.isDefaultDapp || !!!data.positionId) return;

promises.push(
dappApi.updatePosition({
Expand Down

0 comments on commit 2f87fb5

Please sign in to comment.