33Install:
44
55```
6- npm install @aha-app /aha-develop-react
6+ npm install @aha-develop /aha-develop-react
77```
88
99or
1010
1111```
12- yarn install @aha-app /aha-develop-react
12+ yarn install @aha-develop /aha-develop-react
1313```
1414
1515## Hooks
@@ -19,7 +19,7 @@ yarn install @aha-app/aha-develop-react
1919Run a callback with authentication to an external service and return the data and/or the auth and loading state.
2020
2121``` js
22- import { useAuth } from " @aha-app /aha-develop-react" ;
22+ import { useAuth } from " @aha-develop /aha-develop-react" ;
2323
2424function LoadPullRequests (props ) {
2525 const { loading , authed , data , fetchData } = useAuth (async (authData ) => {
@@ -51,7 +51,7 @@ If `loading` is true then the user is authenticated and the data is being reques
5151The component must be wrapped in an AuthProvider. This would usually be done at the root node:
5252
5353``` js
54- import { AuthProvider } from " @aha-app /aha-develop-react" ;
54+ import { AuthProvider } from " @aha-develop /aha-develop-react" ;
5555
5656aha .on (" pullRequests" , () => {
5757 return (
@@ -133,7 +133,7 @@ Fully-featured component for managing embedded content associated with an Aha! R
133133
134134```js
135135import React from "react";
136- import { EmbeddedContentAttribute } from "@aha-app /aha-develop-react";
136+ import { EmbeddedContentAttribute } from "@aha-develop /aha-develop-react";
137137
138138aha.on("myServiceAttribute", ({ record, fields }, { identifier }) => {
139139 const ensureEmbedFlags = async (url) => {
@@ -155,4 +155,4 @@ aha.on("myServiceAttribute", ({ record, fields }, { identifier }) => {
155155 />
156156 );
157157});
158- ```
158+ ```
0 commit comments