Skip to content

Commit

Permalink
style(css): remove commented out css
Browse files Browse the repository at this point in the history
  • Loading branch information
mattupham committed Oct 25, 2024
1 parent 28fb9f9 commit 3ce4611
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion packages/web/components/pool-detail/concentrated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const ConcentratedLiquidityPool: FunctionComponent<{ poolId: string }> =
const { isLoading: isWalletLoading } = useWalletSelect();
const account = accountStore.getWallet(chainStore.osmosis.chainId);
const openCreatePosition = useSearchParam(OpenCreatePositionSearchParam);
const featureFlags = useFeatureFlags();

const chartConfig = useHistoricalAndLiquidityData(poolId);
const [activeModal, setActiveModal] = useState<
Expand Down
1 change: 0 additions & 1 deletion packages/web/components/table/asset-balances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export const AssetBalancesTable: FunctionComponent<{
const { width, isMobile } = useWindowSize();
const router = useRouter();
const { t } = useTranslation();
const featureFlags = useFeatureFlags();

// search
const [searchQuery, setSearchQuery] = useState<Search | undefined>();
Expand Down
2 changes: 0 additions & 2 deletions packages/web/components/table/asset-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
Breakpoint,
useAmplitudeAnalytics,
useDimension,
useFeatureFlags,
useTranslation,
useUserWatchlist,
useWindowSize,
Expand Down Expand Up @@ -66,7 +65,6 @@ export const AssetsInfoTable: FunctionComponent<{
const router = useRouter();
const { t } = useTranslation();
const { logEvent } = useAmplitudeAnalytics();
const featureFlags = useFeatureFlags();

// State

Expand Down
3 changes: 1 addition & 2 deletions packages/web/components/transactions/transaction-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { NoTransactionsSplash } from "~/components/transactions/no-transactions-
import { TransactionButtons } from "~/components/transactions/transaction-buttons";
import { TransactionsPaginaton } from "~/components/transactions/transaction-pagination";
import { TransactionRows } from "~/components/transactions/transaction-rows";
import { useFeatureFlags, useTranslation } from "~/hooks";
import { useTranslation } from "~/hooks";

const TX_PAGE_TABS = ["history", "orders"] as const;

Expand Down Expand Up @@ -48,7 +48,6 @@ export const TransactionContent = ({
wallet?: AccountStoreWallet<[OsmosisAccount, CosmosAccount, CosmwasmAccount]>;
}) => {
const { t } = useTranslation();
const featureFlags = useFeatureFlags();

const showPagination = isWalletConnected && !isLoading;

Expand Down
2 changes: 0 additions & 2 deletions packages/web/modals/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { useUnmount } from "react-use";
import { Icon } from "~/components/assets";
import { IconButton } from "~/components/ui/button";
import { SpriteIconId } from "~/config";
import { useFeatureFlags } from "~/hooks";
import { useWindowSize } from "~/hooks/window/use-window-size";

if (setAppElement) {
Expand Down Expand Up @@ -40,7 +39,6 @@ export const ModalBase = ({
children,
}: PropsWithChildren<ModalBaseProps>) => {
const { isMobile } = useWindowSize();
const featureFlags = useFeatureFlags();
const bodyOpenClassNames = classNames("overflow-hidden", bodyOpenClassName);
useUnmount(() => {
document.body.classList.remove(bodyOpenClassNames);
Expand Down
1 change: 0 additions & 1 deletion packages/web/pages/assets/[denom].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const AssetInfoView: FunctionComponent<AssetInfoPageStaticProps> = observer(
({ tweets }) => {
const { t } = useTranslation();
const router = useRouter();
const featureFlags = useFeatureFlags();
const [previousTrade, setPreviousTrade] =
useLocalStorage<PreviousTrade>(SwapPreviousTradeKey);

Expand Down
4 changes: 0 additions & 4 deletions packages/web/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@
@apply w-full table-fixed border-collapse text-left md:w-full;
}

/* thead > tr {
@apply sticky top-navbar z-40 border-b border-osmoverse-700 bg-osmoverse-900 text-body2 font-semibold text-osmoverse-300 md:top-navbar-mobile;
} */

thead > tr {
@apply sticky top-navbar z-40 border-b border-osmoverse-700 bg-osmoverse-1000 text-body2 font-semibold text-osmoverse-300 md:top-navbar-mobile;
}
Expand Down

0 comments on commit 3ce4611

Please sign in to comment.