]> Untitled Git - lemmy-ui.git/commitdiff
Run prettier
authorDessalines <tyhou13@gmx.com>
Fri, 29 Oct 2021 02:42:54 +0000 (22:42 -0400)
committerDessalines <tyhou13@gmx.com>
Fri, 29 Oct 2021 02:42:54 +0000 (22:42 -0400)
src/shared/components/post/post-form.tsx

index 133af94521032d11db98e107af9e0a88ad90a452..8c51c8c707245b733c83b45442cba6429828432c 100644 (file)
@@ -214,33 +214,33 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
               </form>
               {this.state.postForm.url && validURL(this.state.postForm.url) && (
                 <div>
-                <a
-                  href={`${webArchiveUrl}/save/${encodeURIComponent(
-                    this.state.postForm.url
-                  )}`}
-                  class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
-                  rel="noopener"
-                >
-                  archive.org {i18n.t("archive_link")}
-                </a>
-                <a
-                  href={`${ghostArchiveUrl}/search?term=${encodeURIComponent(
-                    this.state.postForm.url
-                  )}`}
-                  class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
-                  rel="noopener"
-                >
-                  ghostarchive.org {i18n.t("archive_link")}
-                </a>
-                <a
-                  href={`${archiveTodayUrl}/?run=1&url=${encodeURIComponent(
-                    this.state.postForm.url
-                  )}`}
-                  class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
-                  rel="noopener"
-                >
-                 archive.today {i18n.t("archive_link")}
-                </a>
+                  <a
+                    href={`${webArchiveUrl}/save/${encodeURIComponent(
+                      this.state.postForm.url
+                    )}`}
+                    class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
+                    rel="noopener"
+                  >
+                    archive.org {i18n.t("archive_link")}
+                  </a>
+                  <a
+                    href={`${ghostArchiveUrl}/search?term=${encodeURIComponent(
+                      this.state.postForm.url
+                    )}`}
+                    class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
+                    rel="noopener"
+                  >
+                    ghostarchive.org {i18n.t("archive_link")}
+                  </a>
+                  <a
+                    href={`${archiveTodayUrl}/?run=1&url=${encodeURIComponent(
+                      this.state.postForm.url
+                    )}`}
+                    class="mr-2 d-inline-block float-right text-muted small font-weight-bold"
+                    rel="noopener"
+                  >
+                    archive.today {i18n.t("archive_link")}
+                  </a>
                 </div>
               )}
               {this.state.imageLoading && <Spinner />}