From bdcce7218a8944dced4cda6f7f9123fed3594e8d Mon Sep 17 00:00:00 2001 From: nmsderp <130254323+nmsderp@users.noreply.github.com> Date: Thu, 4 Apr 2024 23:20:38 +0000 Subject: [PATCH] remove useless button --- src/playground/render-interface.jsx | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/playground/render-interface.jsx b/src/playground/render-interface.jsx index d99895d8ebe..4b64b5b57d2 100644 --- a/src/playground/render-interface.jsx +++ b/src/playground/render-interface.jsx @@ -413,27 +413,6 @@ class Interface extends React.Component {
- { - const projectDetails = getProjectDetailsById(window.LastFetchedProject.remix); - if (projectDetails && projectDetails.author) { - const username = projectDetails.author.username; - const profileUrl = `https://www.snail-ide.com/profile?user=${username}`; - window.open(profileUrl); - } else { - console.error("Author details not available."); - // Optionally, you can handle this case by setting a default author name or showing a message to the user - } - }} - > - {'View Profile'} - -
-
)}