@ -1,8 +1,8 @@
|
||||
import clsx from 'clsx';
|
||||
import React, { useState } from 'react';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import ReactSwipeableViews from 'react-swipeable-views';
|
||||
|
||||
import ReactSwipeableViews from '@/components/react-swipeable-views';
|
||||
import Card from '@/components/ui/card';
|
||||
import Widget from '@/components/ui/widget';
|
||||
import { useAnnouncements } from '@/queries/announcements/use-announcements';
|
||||
|
||||
@ -12,8 +12,8 @@ import clsx from 'clsx';
|
||||
import { supportsPassiveEvents } from 'detect-passive-events';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import ReactSwipeableViews from 'react-swipeable-views';
|
||||
|
||||
import ReactSwipeableViews from '@/components/react-swipeable-views';
|
||||
import IconButton from '@/components/ui/icon-button';
|
||||
import Portal from '@/components/ui/portal';
|
||||
import { useModalsActions } from '@/stores/modals';
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
import Component from 'react-swipeable-views';
|
||||
|
||||
// @ts-ignore
|
||||
const ReactSwipeableViews = Component.default || Component;
|
||||
|
||||
export { ReactSwipeableViews as default };
|
||||
@ -1,10 +1,10 @@
|
||||
import { Link } from '@tanstack/react-router';
|
||||
import React, { useState } from 'react';
|
||||
import { defineMessages, FormattedDate, FormattedMessage, useIntl } from 'react-intl';
|
||||
import ReactSwipeableViews from 'react-swipeable-views';
|
||||
|
||||
import Account from '@/components/accounts/account';
|
||||
import List, { ListItem } from '@/components/list';
|
||||
import ReactSwipeableViews from '@/components/react-swipeable-views';
|
||||
import StatusContainer from '@/components/statuses/status-container';
|
||||
import Card from '@/components/ui/card';
|
||||
import Column from '@/components/ui/column';
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { Link } from '@tanstack/react-router';
|
||||
import React, { useState } from 'react';
|
||||
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
||||
import ReactSwipeableViews from 'react-swipeable-views';
|
||||
|
||||
import ReactSwipeableViews from '@/components/react-swipeable-views';
|
||||
import EventPreview from '@/components/statuses/event-preview';
|
||||
import Button from '@/components/ui/button';
|
||||
import Card, { CardBody, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
|
||||
Reference in New Issue
Block a user