Skip to content

Commit

Permalink
test github action lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Dec 17, 2024
1 parent f273dac commit 6fcb97b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/web/components/dialog/dialog.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import {Modal} from '@greenbone/opensight-ui-components-mantinev7';
import {ScrollArea} from '@mantine/core';
import styled from 'styled-components';
import {isDefined, isFunction} from 'gmp/utils/identity';
import {useCallback, useEffect, useState} from 'react';
import styled from 'styled-components';
import PropTypes from 'web/utils/proptypes';

const INITIAL_POSITION_X = 0;
Expand Down Expand Up @@ -152,10 +147,10 @@ const Dialog = ({
{title}
</DialogTitleButton>
}
onMouseMove={handleMouseMove}
width={width}
yOffset={position.y}
onClose={handleClose}
onMouseMove={handleMouseMove}
onMouseUp={handleMouseUp}
>
<StyledScrollArea>
Expand Down

0 comments on commit 6fcb97b

Please sign in to comment.