Fixed imports styling
This commit is contained in:
parent
466977d457
commit
9eb30d2066
front/src
@ -1,4 +1,5 @@
|
||||
import { LatLng } from 'leaflet'
|
||||
|
||||
import { OsmAddressResponse } from './types'
|
||||
|
||||
const initialOsmAddress = ''
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { isString } from 'react-bootstrap-typeahead/types/utils'
|
||||
import { API_URL } from '../../config'
|
||||
import { fallbackTo } from '../../utils/types'
|
||||
import { fallbackTo, isString } from '../../utils/types'
|
||||
import { Token, TokenResponse } from './types'
|
||||
|
||||
const composeTokenURL = () => (
|
||||
|
@ -1,12 +1,12 @@
|
||||
import { Modal, Button } from 'react-bootstrap'
|
||||
import { MapContainer, Marker, Popup, TileLayer } from 'react-leaflet'
|
||||
import { CSSProperties } from 'react'
|
||||
|
||||
import LineDot from './LineDot'
|
||||
import { categoryNames } from '../assets/category'
|
||||
import { useBook, useRemoveAnnouncement } from '../hooks/api'
|
||||
import { Announcement } from '../api/announcement/types'
|
||||
import { iconItem } from '../utils/markerIcons'
|
||||
import { CSSProperties } from 'react'
|
||||
import { useId } from '../hooks'
|
||||
|
||||
type AnnouncementDetailsProps = {
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { FormEventHandler, useCallback } from 'react'
|
||||
import { Button, Form } from 'react-bootstrap'
|
||||
|
||||
import { useSignIn, useSignUp } from '../hooks/api'
|
||||
import { composeSignUpBody } from '../api/signup'
|
||||
import { composeSignInBody } from '../api/token'
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
import { Navbar } from 'react-bootstrap'
|
||||
import { PropsWithChildren } from 'react'
|
||||
|
||||
import BackButton from '../assets/backArrow.svg'
|
||||
import { PropsWithChildren } from 'react'
|
||||
|
||||
type BackHeaderProps = {
|
||||
text: string
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
import { CSSProperties } from 'react'
|
||||
|
||||
import addIcon from '../assets/addIcon.svg'
|
||||
import filterIcon from '../assets/filterIcon.svg'
|
||||
import userIcon from '../assets/userIcon.svg'
|
||||
import { CSSProperties } from 'react'
|
||||
|
||||
const styles = {
|
||||
navBar: {
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { useFetch } from '../'
|
||||
import { FiltersType } from '../../utils/filters'
|
||||
import { composeAnnouncementsURL, initialAnnouncements, processAnnouncements } from '../../api/announcements'
|
||||
|
||||
import { isAnnouncementsResponse } from '../../api/announcements/types'
|
||||
|
||||
const useAnnouncements = (filters: FiltersType) => (
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { useCallback } from 'react'
|
||||
|
||||
import { isObject } from '../../utils/types'
|
||||
import { useSendWithButton } from '..'
|
||||
import { composeBookURL, processBook } from '../../api/book'
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useSearchParams } from 'react-router-dom'
|
||||
|
||||
import { FiltersType, URLDecoreFilters, URLEncodeFilters, defaultFilters } from '../utils/filters'
|
||||
import { SetState } from '../utils/types'
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
|
||||
import { getId } from '../utils/auth'
|
||||
|
||||
function useId() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { useCallback } from 'react'
|
||||
|
||||
import { useSend } from '.'
|
||||
import useSendButtonCaption from './useSendButtonCaption'
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useSearchParams } from 'react-router-dom'
|
||||
|
||||
import { SetState } from '../utils/types'
|
||||
|
||||
function useStoryIndex(annLength: number | undefined) {
|
||||
|
@ -2,6 +2,7 @@ import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
|
||||
import App from './App.tsx'
|
||||
|
||||
import './index.css'
|
||||
import 'bootstrap/dist/css/bootstrap.min.css'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user