fix a ton of typescript errors

This commit is contained in:
Eduard Heimbuch
2020-01-08 13:40:07 +01:00
parent 15a9a5b09b
commit a43ffacf03
41 changed files with 229 additions and 311 deletions

View File

@@ -20,7 +20,7 @@ const CodeViewSwitcher: FC<Props> = ({ url }) => {
const createDestinationUrl = (destination: string) => {
let splittedUrl = url.split("/");
splittedUrl[5] = destination;
return splittedUrl.join("/")
return splittedUrl.join("/");
};
return (