Skip to content

Commit f32d2a1

Browse files
authored
fix(staking): [LW-10282] staking storybook build (#1072)
1 parent 6aa6964 commit f32d2a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/staking/src/features/BrowsePools/BrowsePoolsPreferencesCard/BrowsePoolsPreferencesCard.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ import { Box, Cell, Flex, Grid, LocalThemeProvider, Section, ThemeColorScheme, V
22
import { action } from '@storybook/addon-actions';
33
import { useArgs } from '@storybook/preview-api';
44
import { expect, userEvent, waitFor, within } from '@storybook/test';
5-
import { DEFAULT_SORT_OPTIONS, StakePoolSortOptions } from 'features/BrowsePools';
65
import { useCallback, useState } from 'react';
6+
import type { StakePoolSortOptions } from '../types';
77
import type { Meta, StoryObj } from '@storybook/react';
88

99
import { PoolsFilter, QueryStakePoolsFilters } from '../../store';
10+
import { DEFAULT_SORT_OPTIONS } from '../constants';
1011
import { BrowsePoolsPreferencesCard } from './BrowsePoolsPreferencesCard';
1112
import { SortAndFilterTab } from './types';
1213

packages/staking/src/features/BrowsePools/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { BrowsePoolsView, StakePoolSortOptions, StakingBrowserPreferences } from './types';
1+
import type { StakePoolSortOptions, StakingBrowserPreferences } from './types';
2+
import { BrowsePoolsView } from './types';
23
import { getDefaultSortOrderByField } from './utils';
34

45
export const SEARCH_DEBOUNCE_IN_MS = 300;

0 commit comments

Comments
 (0)