refactor(helpercommands): removed the remove as reusabele
This commit is contained in:
@@ -3,17 +3,21 @@ import Relocate from "./commands/Relocate";
|
|||||||
import RemoveAsNonReusable from "./commands/RemoveAsNonReusable";
|
import RemoveAsNonReusable from "./commands/RemoveAsNonReusable";
|
||||||
|
|
||||||
export default function HelperPage() {
|
export default function HelperPage() {
|
||||||
const url: string = window.location.host.split(":")[0];
|
const url: string = window.location.host.split(":")[0];
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-wrap m-2 justify-center">
|
<div className="flex flex-wrap m-2 justify-center">
|
||||||
<div className="m-1">
|
<div className="m-1">
|
||||||
<Bookin />
|
<Bookin />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="m-1">
|
<div className="m-1">
|
||||||
<RemoveAsNonReusable />
|
{url === "localhost" && (
|
||||||
</div>
|
<div className="m-1">
|
||||||
<div className="m-1">{url === "localhost" && <Relocate />}</div>
|
<RemoveAsNonReusable />
|
||||||
</div>
|
<Relocate />
|
||||||
);
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user