Skip to content

Conversation

ravirajput10
Copy link
Contributor

Fixed by: #522

@ravirajput10 ravirajput10 self-assigned this Dec 5, 2024
isActive?: boolean;
}[];
}) {
const { isMobile } = useSidebar();

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable isMobile.
.slice(0, 2)
.map((x) => x[0]?.toUpperCase())
.join("");
const router = useRouter();

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable router.
<div className="flex gap-2">
<Button
disabled={
!name || !pageId || (!!name && !!pageId && loading)

Check warning

Code scanning / CodeQL

Useless conditional Warning

This expression always evaluates to true.
<div className="flex gap-2">
<Button
disabled={
!name || !pageId || (!!name && !!pageId && loading)

Check warning

Code scanning / CodeQL

Useless conditional Warning

This negation always evaluates to true.
});

const mapDispatchToProps = (dispatch: AppDispatch) => ({ dispatch });

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable mapDispatchToProps.
@ravirajput10 ravirajput10 changed the base branch from main to rajat1saxena/issue487 December 5, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant