Skip to content

Commit

Permalink
Update ResultBox.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
priambudiLB committed Oct 23, 2021
1 parent 47e4478 commit 18f58b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/modules/components/ResultBox/ResultBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ExternalLinkIcon } from "@chakra-ui/icons";
import { ResultBoxProps } from "./types";

const ResultBox = (props: ResultBoxProps) => {
const ristekLink = `https://ristek.link/${props.alias}`;
const ristekLink = `${window.location.origin}/${props.alias}`;
if (props.isLoading) {
return (
<div className="absolute -bottom-32 w-full h-8 bg-gray-300 animate-pulse py-9 flex flex-row items-center justify-between rounded-md px-4 mt-3 shadow-lg" />
Expand Down

0 comments on commit 18f58b9

Please sign in to comment.