Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Aug 2, 2023
1 parent 1d68777 commit 9c44103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ export type ViewerAnchorProps = {
children: ReactElement;
};

export const ViewerAnchor = ({
position,
children
}: ViewerAnchorProps): ReactElement => {
export const ViewerAnchor = ({ position, children }: ViewerAnchorProps): ReactElement => {
const viewer = useReveal();
const [divTranslation, setDivTranslation] = useState(new Vector2());
const [visible, setVisible] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion react-components/stories/ViewerAnchor.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Main: Story = {
styling={styling}
fdmAssetMappingConfig={fdmAssetMappingConfig}
/>
<ViewerAnchor position={position} >
<ViewerAnchor position={position}>
<p
style={{
backgroundColor: 'turquoise',
Expand Down

0 comments on commit 9c44103

Please sign in to comment.