Merge pull request #190 from the-programmers-hangout/style-auto-format-code

style: auto-format code
This commit is contained in:
Jean-Philippe Sirois
2019-12-01 20:40:25 -05:00
committed by GitHub
2 changed files with 4 additions and 8 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ const MenuItem: FC<IMenuItemProps> = ({ children, to }) => {
)
}
export const Sidebar: FC<
PropsWithChildren<HTMLAttributes<HTMLDivElement>>
> = props => {
export const Sidebar: FC<PropsWithChildren<
HTMLAttributes<HTMLDivElement>
>> = props => {
const { children, ...restProps } = props
return (
+1 -5
View File
@@ -23,11 +23,7 @@ function dashToSpace(str: string): string {
}
export function humanize(str: string): string {
return pipe(
dashToSpace,
specificWordsToUpper,
removeDotMD
)(str)
return pipe(dashToSpace, specificWordsToUpper, removeDotMD)(str)
}
export function traversePaths(