Skip to content

Commit

Permalink
fix(staking): [LW-10282] staking storybook build (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchappell authored and wklos-iohk committed Apr 22, 2024
1 parent 5355b69 commit 78c53b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { Box, Cell, Flex, Grid, LocalThemeProvider, Section, ThemeColorScheme, V
import { action } from '@storybook/addon-actions';
import { useArgs } from '@storybook/preview-api';
import { expect, userEvent, waitFor, within } from '@storybook/test';
import { DEFAULT_SORT_OPTIONS, StakePoolSortOptions } from 'features/BrowsePools';
import { useCallback, useState } from 'react';
import type { StakePoolSortOptions } from '../types';
import type { Meta, StoryObj } from '@storybook/react';

import { PoolsFilter, QueryStakePoolsFilters } from '../../store';
import { DEFAULT_SORT_OPTIONS } from '../constants';
import { BrowsePoolsPreferencesCard } from './BrowsePoolsPreferencesCard';
import { SortAndFilterTab } from './types';

Expand Down
3 changes: 2 additions & 1 deletion packages/staking/src/features/BrowsePools/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BrowsePoolsView, StakePoolSortOptions, StakingBrowserPreferences } from './types';
import type { StakePoolSortOptions, StakingBrowserPreferences } from './types';
import { BrowsePoolsView } from './types';
import { getDefaultSortOrderByField } from './utils';

export const SEARCH_DEBOUNCE_IN_MS = 300;
Expand Down

0 comments on commit 78c53b0

Please sign in to comment.