Skip to content

Commit

Permalink
fix handlebars syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgarropy committed Jun 21, 2021
1 parent dd92830 commit 72418a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bradgarropy/plop-generator-react-hook",
"version": "0.0.2",
"version": "0.0.3",
"description": "💧 plop generator react hook",
"keywords": [
"node",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/test.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {renderHook} from "@testing-library/react-hooks"
import {{{camelCase name}}} from "hooks"
import { {{camelCase name}} } from "hooks"

test("renders hook", () => {
const {result} = renderHook(() => {{camelCase name}}())
Expand Down

0 comments on commit 72418a1

Please sign in to comment.