updates catalog-model changeset to include the tRPC API type

Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
This commit is contained in:
Oleg S
2023-02-02 16:48:00 -05:00
parent 192f68d53c
commit d51668882d
3 changed files with 7 additions and 2 deletions
@@ -44,7 +44,7 @@ type Props = {
definition: string;
};
export const GraphQlDefinition: React.FC<Props> = ({ definition }: Props) => {
export const GraphQlDefinition = ({ definition }: Props) => {
const classes = useStyles();
const schema = buildSchema(definition);
@@ -24,7 +24,7 @@ export type TrpcApiDefinitionWidgetProps = {
};
/** @public */
export const TrpcApiDefinitionWidget: React.FC<TrpcApiDefinitionWidgetProps> = (
export const TrpcApiDefinitionWidget = (
props: TrpcApiDefinitionWidgetProps,
) => {
const { definition } = props;