Skip to content

Commit

Permalink
🛠️ apply pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
getsantry[bot] authored Oct 22, 2024
1 parent e6e0a01 commit 2ccc9a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions static/app/components/dropdownButton.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {forwardRef} from 'react';
import styled from '@emotion/styled';
import {logEvent} from 'app/utils/eventLogger';

import Button from 'app/components/button';
import {Chevron} from 'app/icons/iconChevron';
import {logEvent} from 'app/utils/eventLogger';

Check failure on line 6 in static/app/components/dropdownButton.tsx

View workflow job for this annotation

GitHub Actions / pre-commit lint

'logEvent' is defined but never used. Allowed unused vars must match /^_/u
import {Chevron} from 'sentry/components/chevron';
import {space} from 'sentry/styles/space';

Expand Down Expand Up @@ -98,4 +98,4 @@ const LabelText = styled('span')`

export default forwardRef<HTMLButtonElement, DropdownButtonProps>((props, ref) => (
<DropdownButton forwardedRef={ref} {...props} />
));
));
2 changes: 1 addition & 1 deletion static/app/utils/eventBufferManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ export class EventBufferManager {
return events;
}
}
```
```
2 changes: 1 addition & 1 deletion static/app/utils/eventLogger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ export function flushEvents() {

// Schedule periodic flushing of events
setInterval(flushEvents, 5 * 60 * 1000); // Flush every 5 minutes
```
```

0 comments on commit 2ccc9a8

Please sign in to comment.