pl-fe: Avoid barrel imports
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@@ -5,7 +5,7 @@ import { fetchPoll, vote } from 'pl-fe/actions/polls';
|
||||
import { useAppDispatch } from 'pl-fe/hooks';
|
||||
|
||||
import RelativeTimestamp from '../relative-timestamp';
|
||||
import { Button, HStack, Stack, Text, Tooltip } from '../ui';
|
||||
import { Button, HStack, Stack, Text, Tooltip } from 'pl-fe/components/ui';
|
||||
|
||||
import type { Selected } from './poll';
|
||||
import type { Poll } from 'pl-fe/normalizers';
|
||||
|
||||
@@ -3,7 +3,9 @@ import React from 'react';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import { Motion, presets, spring } from 'react-motion';
|
||||
|
||||
import { HStack, Icon, Text } from '../ui';
|
||||
import HStack from 'pl-fe/components/ui/hstack';
|
||||
import Icon from 'pl-fe/components/ui/icon';
|
||||
import Text from 'pl-fe/components/ui/text';
|
||||
|
||||
import type { Poll } from 'pl-fe/normalizers';
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ import { vote } from 'pl-fe/actions/polls';
|
||||
import { useAppDispatch, useAppSelector } from 'pl-fe/hooks';
|
||||
import { useModalsStore } from 'pl-fe/stores';
|
||||
|
||||
import { Stack, Text } from '../ui';
|
||||
import Stack from 'pl-fe/components/ui/stack';
|
||||
import Text from 'pl-fe/components/ui/text';
|
||||
|
||||
import PollFooter from './poll-footer';
|
||||
import PollOption from './poll-option';
|
||||
|
||||
Reference in New Issue
Block a user