From 015da276397d1b079369aad45cb653f893b0588a Mon Sep 17 00:00:00 2001 From: abdulbasitha Date: Tue, 26 Mar 2024 15:33:43 +0530 Subject: [PATCH 1/2] fix: edit on github button issue resolved --- apps/web/components/code-demo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/code-demo.tsx b/apps/web/components/code-demo.tsx index 81db33164..958ceef25 100644 --- a/apps/web/components/code-demo.tsx +++ b/apps/web/components/code-demo.tsx @@ -223,7 +223,7 @@ function CodePreview({ } function EditOnGithubButton({ githubSlug }: { githubSlug: string }) { - const githubSrcHref = "https://github.com/themesberg/flowbite-react/blob/main/examples/"; + const githubSrcHref = 'https://github.com/themesberg/flowbite-react/blob/main/apps/web/examples/'; const href = `${githubSrcHref}${githubSlug}`; return ( From 948ceeebeb07e4719a51fcc954a77e08d86e2e9f Mon Sep 17 00:00:00 2001 From: Basith <134603758+abdulbasithqb@users.noreply.github.com> Date: Tue, 26 Mar 2024 15:53:00 +0530 Subject: [PATCH 2/2] formated code --- apps/web/components/code-demo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/code-demo.tsx b/apps/web/components/code-demo.tsx index 958ceef25..c3652a378 100644 --- a/apps/web/components/code-demo.tsx +++ b/apps/web/components/code-demo.tsx @@ -223,7 +223,7 @@ function CodePreview({ } function EditOnGithubButton({ githubSlug }: { githubSlug: string }) { - const githubSrcHref = 'https://github.com/themesberg/flowbite-react/blob/main/apps/web/examples/'; + const githubSrcHref = "https://github.com/themesberg/flowbite-react/blob/main/apps/web/examples/"; const href = `${githubSrcHref}${githubSlug}`; return (