Skip to content

Commit

Permalink
ref(ui): Remove qs imports, not a dependency
Browse files Browse the repository at this point in the history
We do not have `qs` as a direct dependency. It works anyway because we have it as a sub dependency, but we shouldn't import things that aren't dependencies.

```
   - "webpack-dev-server#express" depends on it
   - Hoisted from "webpack-dev-server#express#qs"
   - Hoisted from "@RSdoctor#webpack-plugin#@RSdoctor#sdk#body-parser#qs"
```
  • Loading branch information
scttcper committed Sep 23, 2024
1 parent 1942a9b commit 9276496
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment} from 'react';
import styled from '@emotion/styled';
import type {Location} from 'history';
import qs from 'qs';
import * as qs from 'query-string';

import GridEditable, {
COL_WIDTH_UNDEFINED,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment} from 'react';
import styled from '@emotion/styled';
import type {Location} from 'history';
import qs from 'qs';
import * as qs from 'query-string';

import GridEditable, {
COL_WIDTH_UNDEFINED,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import qs from 'qs';
import * as qs from 'query-string';

import type {RawSpanType} from 'sentry/components/events/interfaces/spans/types';
import {t} from 'sentry/locale';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {Theme} from '@emotion/react';
import * as Sentry from '@sentry/react';
import type {Location} from 'history';
import qs from 'qs';
import * as qs from 'query-string';

import type {Client} from 'sentry/api';
import type {RawSpanType} from 'sentry/components/events/interfaces/spans/types';
Expand Down

0 comments on commit 9276496

Please sign in to comment.