Skip to content

Commit 7d62627

Browse files
author
Rajat
committed
added todo
1 parent 658f600 commit 7d62627

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/web/graphql/pages/helpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ export async function getPageResponse(
163163
// );
164164
// }
165165

166+
// TODO: Figure out a better way to update ctx.subdomain.sharedWidgets
167+
// currently this function is getting called multiple times as the version 0
168+
// of the subdomain is not getting replaces in ctx
166169
export async function initSharedWidgets(ctx: GQLContext) {
167170
let subdomainChanged = false;
168171
if (!ctx.subdomain.sharedWidgets.header) {

0 commit comments

Comments
 (0)