From 04a2f7e79d1b82667401ce40d8663d98186f21c1 Mon Sep 17 00:00:00 2001 From: Elliot Braem <16282460+elliotBraem@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:46:39 -0400 Subject: [PATCH] fmt --- apps/new/widget/lib/gateway.jsx | 5 ++--- apps/new/widget/page/project/QuickView.jsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/new/widget/lib/gateway.jsx b/apps/new/widget/lib/gateway.jsx index 94418532..eea342b3 100644 --- a/apps/new/widget/lib/gateway.jsx +++ b/apps/new/widget/lib/gateway.jsx @@ -1,7 +1,6 @@ const data = fetch(`https://httpbin.org/headers`); const gatewayOrigin = data?.body?.headers?.Origin ?? ""; -const isNearSocial = - gatewayOrigin.includes("near.social"); +const isNearSocial = gatewayOrigin.includes("near.social"); -return { isNearSocial, gatewayOrigin }; \ No newline at end of file +return { isNearSocial, gatewayOrigin }; diff --git a/apps/new/widget/page/project/QuickView.jsx b/apps/new/widget/page/project/QuickView.jsx index 80a9bd4c..8d7ba852 100644 --- a/apps/new/widget/page/project/QuickView.jsx +++ b/apps/new/widget/page/project/QuickView.jsx @@ -8,7 +8,7 @@ const { href } = VM.require("${alias_old}/widget/lib.url") || { const { isNearSocial } = VM.require("${alias_new}/widget/lib.gateway") || { isNearSocial: false, -} +}; const showCanvas = props.showCanvas; const onClose = props.onClose;