fix: Undo some other extraneous changes

This commit is contained in:
Jay Sitter 2023-06-22 17:32:24 -04:00
parent d0fb7e6147
commit 1ea33e8c7e

View file

@ -656,6 +656,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
return ( return (
<> <>
{this.saveButton} {this.saveButton}
{this.crossPostButton}
{/** {/**
* If there is a URL, or if the post has a body and we were told not to * If there is a URL, or if the post has a body and we were told not to
@ -680,11 +681,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</button> </button>
<ul className="dropdown-menu" id="advancedButtonsDropdown"> <ul className="dropdown-menu" id="advancedButtonsDropdown">
<li>{this.crossPostButton}</li>
<li>
<hr className="dropdown-divider" />
</li>
{!this.myPost ? ( {!this.myPost ? (
<> <>
<li>{this.reportButton}</li> <li>{this.reportButton}</li>
@ -779,7 +775,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
get crossPostButton() { get crossPostButton() {
return ( return (
<Link <Link
className="btn-animate text-muted py-0" className="btn btn-sm btn-animate text-muted py-0"
to={{ to={{
/* Empty string properties are required to satisfy type*/ /* Empty string properties are required to satisfy type*/
pathname: "/create_post", pathname: "/create_post",