fix: hook dox

This commit is contained in:
cha0s 2022-08-11 06:37:54 -05:00
parent c7bbc48d3a
commit aa78144628

View File

@ -110,10 +110,8 @@ export const generateHookPage = (hooks, flecks) => {
source.push('### Example usage');
source.push('');
source.push('```javascript');
source.push('export default {');
source.push(' [Hooks]: {');
source.push(` '${hook}': ${example}`);
source.push(' },');
source.push('export const hooks = {');
source.push(` '${hook}': ${example}`);
source.push('};');
source.push('```');
source.push('');