Run prettier
This commit is contained in:
parent
e1ca2bd7b5
commit
9ed0fb3cbc
1 changed files with 27 additions and 27 deletions
|
@ -214,33 +214,33 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
||||||
</form>
|
</form>
|
||||||
{this.state.postForm.url && validURL(this.state.postForm.url) && (
|
{this.state.postForm.url && validURL(this.state.postForm.url) && (
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
href={`${webArchiveUrl}/save/${encodeURIComponent(
|
href={`${webArchiveUrl}/save/${encodeURIComponent(
|
||||||
this.state.postForm.url
|
this.state.postForm.url
|
||||||
)}`}
|
)}`}
|
||||||
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
>
|
>
|
||||||
archive.org {i18n.t("archive_link")}
|
archive.org {i18n.t("archive_link")}
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href={`${ghostArchiveUrl}/search?term=${encodeURIComponent(
|
href={`${ghostArchiveUrl}/search?term=${encodeURIComponent(
|
||||||
this.state.postForm.url
|
this.state.postForm.url
|
||||||
)}`}
|
)}`}
|
||||||
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
>
|
>
|
||||||
ghostarchive.org {i18n.t("archive_link")}
|
ghostarchive.org {i18n.t("archive_link")}
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href={`${archiveTodayUrl}/?run=1&url=${encodeURIComponent(
|
href={`${archiveTodayUrl}/?run=1&url=${encodeURIComponent(
|
||||||
this.state.postForm.url
|
this.state.postForm.url
|
||||||
)}`}
|
)}`}
|
||||||
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
>
|
>
|
||||||
archive.today {i18n.t("archive_link")}
|
archive.today {i18n.t("archive_link")}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{this.state.imageLoading && <Spinner />}
|
{this.state.imageLoading && <Spinner />}
|
||||||
|
|
Loading…
Reference in a new issue