Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Fix linting error in frontend #855

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

simonswine
Copy link
Collaborator

@simonswine simonswine commented Jul 13, 2023

I have no idea what I am doing, but this should fix the linting issue we see on every PR.

I have no idea what I am doing, but this should fix the linting issue we
see on every PR.
@simonswine simonswine marked this pull request as ready for review July 13, 2023 12:19
@@ -14,7 +14,7 @@ import Button from '@webapp/ui/Button';
import LoadingSpinner from '@webapp/ui/LoadingSpinner';
import DateRangePicker from '@webapp/components/DateRangePicker';
import RefreshButton from '@webapp/components/RefreshButton';
import AppSelector from '@phlare/components/AppSelector/AppSelector';
import { AppSelector } from '@phlare/components/AppSelector/AppSelector';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's funny because both are technically valid.

import { AppSelector } from '@phlare/components/AppSelector/AppSelector';

specifies only importing AppSelector, but since AppSelector is declared as the default export in that module, what was originally there is functionally equivalent.

Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cyriltovena cyriltovena merged commit 6e015f9 into grafana:main Jul 13, 2023
17 checks passed
simonswine added a commit to simonswine/pyroscope that referenced this pull request Jul 18, 2023
I have no idea what I am doing, but this should fix the linting issue we
see on every PR.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants