fix(web): SpaceInviteCard — real embed idiom and correct getApiForOrigin import path

This commit is contained in:
Jannis Braun
2026-04-29 21:52:20 +02:00
parent 82533c1434
commit e351d53dd5
3 changed files with 14 additions and 18 deletions
-6
View File
@@ -813,9 +813,3 @@ export function createApiClient(origin: string, getToken: () => string | null, o
return new BackspaceApiClient(baseUrl, getToken, onUnauthorized);
}
// Re-export the cross-store origin resolver so consumers can do
// `import { getApiForOrigin } from '../api/client'`. The real implementation
// lives in `utils/crossStoreResolvers` to avoid TDZ cycles between stores;
// re-exporting here keeps the public import surface clean for callers that
// don't need to know about the internal indirection.
export { getApiForOrigin } from '../utils/crossStoreResolvers';