Skip to content

Commit

Permalink
fix: #669-ui/docs: clone component is undefined when running as a server
Browse files Browse the repository at this point in the history
  • Loading branch information
RajvirS99 committed Oct 2, 2024
1 parent 3b6cb6b commit d255708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/RepoList/Components/RepoOverview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ export default function Repositories(props) {
};

const { project: org, name } = props?.data || {};
const cloneURL = `${import.meta.env.VITE_SERVER_URI}/${org}/${name}.git`;
const cloneURL = `${window.location.origin.toString()}/${org}/${name}.git`;

return (
<TableRow>
Expand Down

0 comments on commit d255708

Please sign in to comment.