Skip to content

Commit 760e3e1

Browse files
committed
Version 1.2.0
1 parent 7dcb1d5 commit 760e3e1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
Install:
44

55
```
6-
npm install @aha-app/aha-develop-react
6+
npm install @aha-develop/aha-develop-react
77
```
88

99
or
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
1919
Run 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

2424
function 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
5151
The 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

5656
aha.on("pullRequests", () => {
5757
return (
@@ -133,7 +133,7 @@ Fully-featured component for managing embedded content associated with an Aha! R
133133
134134
```js
135135
import React from "react";
136-
import { EmbeddedContentAttribute } from "@aha-app/aha-develop-react";
136+
import { EmbeddedContentAttribute } from "@aha-develop/aha-develop-react";
137137
138138
aha.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+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aha-develop/aha-develop-react",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Common React patterns for Aha! develop",
55
"main": "dist/index.js",
66
"repository": "https://github.com/aha-develop/aha-develop-react",

0 commit comments

Comments
 (0)