fix: hook dox
This commit is contained in:
parent
c7bbc48d3a
commit
aa78144628
|
@ -110,10 +110,8 @@ export const generateHookPage = (hooks, flecks) => {
|
||||||
source.push('### Example usage');
|
source.push('### Example usage');
|
||||||
source.push('');
|
source.push('');
|
||||||
source.push('```javascript');
|
source.push('```javascript');
|
||||||
source.push('export default {');
|
source.push('export const hooks = {');
|
||||||
source.push(' [Hooks]: {');
|
source.push(` '${hook}': ${example}`);
|
||||||
source.push(` '${hook}': ${example}`);
|
|
||||||
source.push(' },');
|
|
||||||
source.push('};');
|
source.push('};');
|
||||||
source.push('```');
|
source.push('```');
|
||||||
source.push('');
|
source.push('');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user