chore: removing mode from other fixtures
Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
@@ -44,10 +44,10 @@ export const ComponentImplementationBlueprint = createExtensionBlueprint({
|
||||
}) {
|
||||
return createExtensionBlueprintParams(params);
|
||||
},
|
||||
*factory(params) {
|
||||
yield componentDataRef({
|
||||
factory: params => [
|
||||
componentDataRef({
|
||||
ref: params.ref,
|
||||
loader: params.loader,
|
||||
});
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
@@ -23,19 +23,16 @@ import { createComponentRef } from './createComponentRef';
|
||||
|
||||
const coreProgressComponentRef = createComponentRef<CoreProgressProps>({
|
||||
id: 'core.components.progress',
|
||||
mode: 'sync',
|
||||
});
|
||||
|
||||
const coreNotFoundErrorPageComponentRef =
|
||||
createComponentRef<CoreNotFoundErrorPageProps>({
|
||||
id: 'core.components.notFoundErrorPage',
|
||||
mode: 'sync',
|
||||
});
|
||||
|
||||
const coreErrorBoundaryFallbackComponentRef =
|
||||
createComponentRef<CoreErrorBoundaryFallbackProps>({
|
||||
id: 'core.components.errorBoundaryFallback',
|
||||
mode: 'sync',
|
||||
});
|
||||
|
||||
/** @public */
|
||||
|
||||
@@ -32,6 +32,8 @@ export function makeComponentFromRef<
|
||||
);
|
||||
|
||||
const ComponentRefImpl = (props: ExternalComponentProps) => {
|
||||
// todo(blam): use the component that's in the API ref instead if it's defined.
|
||||
// otherwise use the fallback..
|
||||
const api = useApi(componentsApiRef);
|
||||
const innerProps = options.transformProps?.(props) ?? props;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user