Browse Source

fix(getting-started-docs): Fix remix doc format (#52703)

Priscila Oliveira 1 year ago
parent
commit
903d70c570
1 changed files with 14 additions and 10 deletions
  1. 14 10
      static/app/gettingStartedDocs/javascript/remix.tsx

+ 14 - 10
static/app/gettingStartedDocs/javascript/remix.tsx

@@ -81,16 +81,20 @@ export const steps = ({
       },
       {
         language: 'javascript',
-        description: tct(
-          `Initialize Sentry in your entry point for the server to capture exceptions and get performance metrics for your [action] and [loader] functions. You can also initialize Sentry's database integrations, such as Prisma, to get spans for your database calls:`,
-          {
-            action: (
-              <ExternalLink href="https://remix.run/docs/en/v1/api/conventions#action" />
-            ),
-            loader: (
-              <ExternalLink href="https://remix.run/docs/en/1.18.1/api/conventions#loader" />
-            ),
-          }
+        description: (
+          <div>
+            {tct(
+              `Initialize Sentry in your entry point for the server to capture exceptions and get performance metrics for your [action] and [loader] functions. You can also initialize Sentry's database integrations, such as Prisma, to get spans for your database calls:`,
+              {
+                action: (
+                  <ExternalLink href="https://remix.run/docs/en/v1/api/conventions#action" />
+                ),
+                loader: (
+                  <ExternalLink href="https://remix.run/docs/en/1.18.1/api/conventions#loader" />
+                ),
+              }
+            )}
+          </div>
         ),
         code: `