Commit 7de58c83 authored by Fabrizio Ruggeri's avatar Fabrizio Ruggeri
Browse files

Fix error link

parent 4ee48342
......@@ -40,9 +40,7 @@ export const percentageToPixel = (percentage: number, dimension: number) =>
Math.round(percentage * dimension);
export const buildDocumentationLink = (doc: string) =>
doc
? path.join(`https://caravaggio.ramielcreations.com/docs/${doc}`)
: 'https://caravaggio.ramielcreations.com';
`https://caravaggio.ramielcreations.com/docs/${doc}`;
export const compose = (...fns: Function[]) =>
fns.reduce((f, g) => (...args: unknown[]) => f(g(...args)));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment