mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix a ton of typescript errors
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user