Skip to content

Commit

Permalink
Fix typo of flags/package/README.md (#58)
Browse files Browse the repository at this point in the history
"useFlag" -> "useFlags"
  • Loading branch information
Amoong authored Sep 11, 2023
1 parent fcbc974 commit 48042d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ It's recommended to enable [Absolute Imports](https://nextjs.org/docs/advanced-f
This will allow you to later import your flags like

```ts
import { useFlag } from "flags/client";
import { useFlags } from "flags/client";
```

instead of having to use relative imports like

```ts
import { useFlag } from "../../../flags/client";
import { useFlags } from "../../../flags/client";
```

### Setting up the Environment Variable
Expand Down

1 comment on commit 48042d6

@vercel
Copy link

@vercel vercel bot commented on 48042d6 Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

flags – ./

flags.happykit.dev
flags-happykit.vercel.app
flags-git-master-happykit.vercel.app

Please sign in to comment.