Skip to content

Commit

Permalink
Mattupham/fe 478 reduce fe bundle size (#3290)
Browse files Browse the repository at this point in the history
* Remove default exports for spinner and card

* Remove chart.ts

* Update import for create-pool

* remove checkbox-shadcn

* Remove select-menu

* remove related-assets

* Remove promo-drawer

* remove use-controllable-prop.ts

* remove use-scroll-measure.ts

* remove EarnAllocation

* update import for token-details

* Remove default export for Twitter Section

* fix imports for connecting / error wallet states

* Fix your balance import

* remove noop

* Revert "remove noop"

This reverts commit 48d9387.

* Remove position near bounds

* Add named export for nomic bridge transfer

* Remove price alert

* Remove line-chart

* Remove swap tool promo

* Fix imports

* Update typescript

* Remove unused translations

* remove unused translation

* Remove unused translation

* Tokens count

* Remove method

* Update keys - platform

* remove scrollToSeeMore key
  • Loading branch information
mattupham authored Jun 4, 2024
1 parent b1f7b83 commit 4c05418
Show file tree
Hide file tree
Showing 65 changed files with 360 additions and 1,267 deletions.
2 changes: 1 addition & 1 deletion packages/bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/jest-in-case": "^1.0.6",
"jest-in-case": "^1.0.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"lint-staged": {
"*": [
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-codecs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"devDependencies": {
"@cosmology/proto-parser": "^1.5.0",
"@cosmology/telescope": "^1.5.1",
"@types/node": "^18.16.3",
"@types/node": "^20.14.1",
"regenerator-runtime": "^0.13.11",
"rimraf": "^5.0.0",
"tsx": "^4.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/jest-in-case": "^1.0.6",
"jest-in-case": "^1.0.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"lint-staged": {
"*": [
Expand Down
2 changes: 1 addition & 1 deletion packages/trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/jest-in-case": "^1.0.6",
"jest-in-case": "^1.0.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"lint-staged": {
"*": [
Expand Down
2 changes: 1 addition & 1 deletion packages/trpc/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { trpcMiddleware } from "./middleware";
/**
* Pass asset lists and chain list to be used cas context in backend service.
*/
export type CreateContextOptions = {
type CreateContextOptions = {
assetLists: AssetList[];
chainList: Chain[];
};
Expand Down
2 changes: 1 addition & 1 deletion packages/tx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@types/jest-in-case": "^1.0.6",
"jest-in-case": "^1.0.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"lint-staged": {
"*": [
Expand Down
101 changes: 0 additions & 101 deletions packages/web/components/assets/notifi-alerts/position-near-bounds.tsx

This file was deleted.

68 changes: 0 additions & 68 deletions packages/web/components/assets/notifi-alerts/price-alert.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions packages/web/components/cards/osmoverse-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ export const OsmoverseCard: React.FC<OsmoverseCardProps> = ({
</div>
</div>
);

export default OsmoverseCard;
2 changes: 1 addition & 1 deletion packages/web/components/cards/validator-squad-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React from "react";
import { useCallback, useMemo } from "react";

import { FallbackImg } from "~/components/assets";
import OsmoverseCard from "~/components/cards/osmoverse-card";
import { OsmoverseCard } from "~/components/cards/osmoverse-card";
import { Tooltip } from "~/components/tooltip";
import { Button } from "~/components/ui/button";
import { Breakpoint, useTranslation, useWindowSize } from "~/hooks";
Expand Down
49 changes: 0 additions & 49 deletions packages/web/components/chart/light-weight-charts/line-chart.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/web/components/complex/add-conc-liquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
import { DepositAmountGroup } from "~/components/cl-deposit-input-group";
import { Pill } from "~/components/indicators/pill";
import { InputBox } from "~/components/input";
import Spinner from "~/components/loaders/spinner";
import { Spinner } from "~/components/loaders/spinner";
import { CustomClasses } from "~/components/types";
import { Button } from "~/components/ui/button";
import { ChartButton } from "~/components/ui/button";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/components/complex/all-pools-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Icon, PoolAssetsIcon, PoolAssetsName } from "../assets";
import { AprBreakdown } from "../cards/apr-breakdown";
import { CheckboxSelect } from "../control";
import { SearchBox } from "../input";
import Spinner from "../loaders/spinner";
import { Spinner } from "../loaders/spinner";
import { PoolQuickActionCell } from "../table/cells";
import { SortHeader } from "../table/headers/sort";
import { Tooltip } from "../tooltip";
Expand Down
29 changes: 0 additions & 29 deletions packages/web/components/control/checkbox-shadcn.tsx

This file was deleted.

Loading

0 comments on commit 4c05418

Please sign in to comment.