fix(deps): update mantine monorepo to ^7.6.2 (#221)
* fix(deps): update mantine monorepo to ^7.6.2 * fix: lint issue as use-element-size ref is typed correctly again * fix: remove unnecessary type convertion --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b63b2c8e90
commit
fc29db0151
@@ -37,7 +37,6 @@ interface Props {
|
||||
|
||||
export const SectionContent = ({ items, refs }: Props) => {
|
||||
const board = useRequiredBoard();
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const { ref, width, height } = useElementSize<HTMLDivElement>();
|
||||
|
||||
return (
|
||||
@@ -59,7 +58,7 @@ export const SectionContent = ({ items, refs }: Props) => {
|
||||
ref={refs.items.current[item.id] as RefObject<HTMLDivElement>}
|
||||
>
|
||||
<Card
|
||||
ref={ref as RefObject<HTMLDivElement>}
|
||||
ref={ref}
|
||||
className={cx(classes.itemCard, "grid-stack-item-content")}
|
||||
withBorder
|
||||
styles={{
|
||||
|
||||
Reference in New Issue
Block a user