Skip to content

Commit

Permalink
fix: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
antonjoel82 committed Jun 28, 2024
1 parent 2a20e61 commit fee94c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/web/src/components/docs/DocsButton.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { Popover } from '@mantine/core';
import { ActionButton, Button, IconOutlineMenuBook, QuickGuide, Tooltip } from '@novu/design-system';
import { useSegment } from '../providers/SegmentProvider';
import { useEffect, useMemo, useState } from 'react';
import { ComponentProps, useEffect, useMemo, useState } from 'react';
import { matchPath, useLocation } from 'react-router-dom';
import { css } from '@novu/novui/css';
import { Flex, styled } from '@novu/novui/jsx';
import { text, title } from '@novu/novui/recipes';
import { PATHS } from './docs.const';
import { DocsModal } from './DocsModal';
import { ITooltipProps } from '@novu/design-system/dist/types/tooltip/Tooltip';

const Title = styled('h3', title);
const Text = styled('p', text);
Expand Down Expand Up @@ -51,7 +50,7 @@ export const DocsButton = ({
tooltip,
}: {
TriggerButton?: React.FC<{ onClick: () => void }>;
tooltip?: ITooltipProps['label'];
tooltip?: ComponentProps<typeof Tooltip>['label'];
}) => {
const [opened, setOpened] = useState<boolean>(false);
const segment = useSegment();
Expand Down

0 comments on commit fee94c5

Please sign in to comment.