mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
Merge pull request #190 from the-programmers-hangout/style-auto-format-code
style: auto-format code
This commit is contained in:
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user