Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Sep 19, 2024
1 parent 92adb8f commit ab930c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blocks/commerce-search-order/commerce-search-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const renderSignIn = async (element, email, orderNumber) => authRenderer.render(
})(element);

export default async function decorate(block) {
block.innerHTML = '';

const isAuthenticated = !!getCookie('auth_dropin_user_token') || false;

await orderRenderer.render(OrderSearch, {
Expand Down

0 comments on commit ab930c0

Please sign in to comment.