Skip to content

Commit

Permalink
display 'Clone & Run' on local version
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 30, 2024
1 parent 7879f1b commit e4d0bd7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export type ForkAndRunProps = {
};

const ForkAndRun: FC<ForkAndRunProps> = ({ loading }) => {
const text = window.location.hostname.includes("app.fluentci.io")
? "Fork & Run"
: "Clone & Run";
return (
<>
{loading && (
Expand All @@ -21,7 +24,7 @@ const ForkAndRun: FC<ForkAndRunProps> = ({ loading }) => {
}}
/>
)}
{!loading && <Container>Fork & Run</Container>}
{!loading && <Container>{text}</Container>}
</>
);
};
Expand Down

0 comments on commit e4d0bd7

Please sign in to comment.