Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
noahlitvin committed Oct 5, 2024
1 parent 4ccbbe4 commit d2ab6ce
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions packages/website/src/features/Packages/Function.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
Button,
Flex,
FormControl,
FormHelperText,
FormLabel,
Heading,
Input,
Expand Down Expand Up @@ -355,7 +354,7 @@ export const Function: FC<{
>
<Tooltip
label={`Selector: ${toFunctionSelector(
toFunctionSignature(f)
(f)
)}`}
>
{toFunctionSignature(f)}
Expand Down Expand Up @@ -645,14 +644,7 @@ export const Function: FC<{
whiteSpace="normal"
wordBreak="break-word"
>
<Tooltip
label={`Selector: ${toFunctionSelector(
toFunctionSignature(f)
)}`}
>
{toFunctionSignature(f)}
</Tooltip>

{toFunctionSignature(f)}
<Link
color="gray.300"
ml={1}
Expand All @@ -677,11 +669,14 @@ export const Function: FC<{
)}
</Heading>
)}
<Flex flexDirection='row' alignItems='center' gap={3}>
<Text color="gray.500" fontSize="xs">Selector: {toFunctionSelector(f)}</Text>
{isOpen ? (
<ChevronUpIcon boxSize="5" />
) : (
<ChevronDownIcon boxSize="5" />
)}
</Flex>
</Flex>
{isOpen && renderFunctionContent()}
</Flex>
Expand Down

0 comments on commit d2ab6ce

Please sign in to comment.