Parcourir la source

:fire: fork button

visuddhinanda il y a 2 ans
Parent
commit
a5c4e54cd9
1 fichiers modifiés avec 0 ajouts et 14 suppressions
  1. 0 14
      dashboard/src/pages/library/article/show.tsx

+ 0 - 14
dashboard/src/pages/library/article/show.tsx

@@ -172,20 +172,6 @@ const Widget = () => {
                 >
                   Edit
                 </Button>
-                <Button
-                  disabled={user ? false : true}
-                  ghost
-                  onClick={(event) => {
-                    const url = `/studio/${user?.nickName}/article/create?parent=${loadedArticleData.uid}`;
-                    if (event.ctrlKey || event.metaKey) {
-                      window.open(fullUrl(url), "_blank");
-                    } else {
-                      navigate(url);
-                    }
-                  }}
-                >
-                  Fork
-                </Button>
               </>
             ) : undefined}
             <ShareButton