Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
abder committed Nov 27, 2024
1 parent 9e6244e commit f93ffcf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui/modal/src/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Modal = forwardRef<ModalActionsProps, ModalProps>(

// Update open state
setIsOpen(false)
}, [])
}, [onCloseModal])

// Expose 'openModal' and 'closeModal' functions to parent components using 'forwardRef'
useImperativeHandle(ref, () => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const BasicExample = ({
content={[
{
label:
"Instantly Turn Keywords Into SEO Links: This SmartCrawl Tool Automates It For You",
"Instantly Turn Keywords Into SEO Links: This SmartCrawl Tool Automates It For You",
link: "https://wpmudev.com",
},
{
Expand Down
1 change: 0 additions & 1 deletion packages/ui/summary-box/stories/tabs/TabExamples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ import { Score } from "@wpmudev/sui-score"
}
`


export const gridCode = dedent`
import { SummaryBox, SummaryBoxBody, SummaryBoxItem, SummaryFooterBody } from "@wpmudev/sui-summary-box"
import { SegmentedControl, SegmentedControlButton } from "@wpmudev/sui-segmented-control"
Expand Down
1 change: 1 addition & 0 deletions packages/ui/uploader/src/uploader-file.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const UploaderFile: React.FC<UploaderFileProps> = React.memo(
}

// Update preview url
// eslint-disable-next-line react-hooks/exhaustive-deps
useEffect(updatePreviewUrl, [])
useEffect(updatePreviewUrl, [file])

Expand Down

0 comments on commit f93ffcf

Please sign in to comment.