diff --git a/libs/remix-ui/git/src/components/navigation/remotesdetails.tsx b/libs/remix-ui/git/src/components/navigation/remotesdetails.tsx index 8232af2b56..7da0e81b0a 100644 --- a/libs/remix-ui/git/src/components/navigation/remotesdetails.tsx +++ b/libs/remix-ui/git/src/components/navigation/remotesdetails.tsx @@ -37,21 +37,25 @@ export const RemotesDetailsNavigation = (props: RemotesDetailsNavigationProps) = actions.setDefaultRemote(remote) } + const isDefault = () => { + return (context.defaultRemote && context.defaultRemote?.url === remote.url) || (context.upstream && context.upstream?.url === remote.url) + } + return ( <>