Skip to content

Commit 353e79e

Browse files
committed
chore: update readme
1 parent 2c936c4 commit 353e79e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const App = () => {
120120

121121
You can also register a shortcut when a component is mounted. Like this:
122122

123+
<sub>When you use the `useRegisterShortcut` hook it is necessary to use the `useMemo` hook</sub>
123124
```tsx
124125
import * as React from 'react';
125126
import {useMemo, useState} from 'react';

0 commit comments

Comments
 (0)