mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Merge pull request #26 from utopia-os/lint-comments
fix(other): lint comments
This commit is contained in:
commit
0e45cd487f
@ -1,4 +1,3 @@
|
|||||||
// eslint-disable-next-line no-undef
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
@ -7,7 +6,7 @@ module.exports = {
|
|||||||
extends: [
|
extends: [
|
||||||
'standard',
|
'standard',
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
// 'plugin:@eslint-community/eslint-comments/recommended',
|
'plugin:@eslint-community/eslint-comments/recommended',
|
||||||
// 'plugin:@typescript-eslint/recommended',
|
// 'plugin:@typescript-eslint/recommended',
|
||||||
// 'plugin:import/recommended',
|
// 'plugin:import/recommended',
|
||||||
// 'plugin:import/typescript',
|
// 'plugin:import/typescript',
|
||||||
@ -56,9 +55,9 @@ module.exports = {
|
|||||||
// ignores: ['+Page'],
|
// ignores: ['+Page'],
|
||||||
// },
|
// },
|
||||||
// ],
|
// ],
|
||||||
// // Optional eslint-comments rule
|
// Optional eslint-comments rule
|
||||||
// '@eslint-community/eslint-comments/no-unused-disable': 'error',
|
'@eslint-community/eslint-comments/no-unused-disable': 'error',
|
||||||
// '@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
|
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
|
||||||
// // import
|
// // import
|
||||||
// 'import/export': 'error',
|
// 'import/export': 'error',
|
||||||
// 'import/no-deprecated': 'error',
|
// 'import/no-deprecated': 'error',
|
||||||
|
|||||||
34
package-lock.json
generated
34
package-lock.json
generated
@ -30,6 +30,7 @@
|
|||||||
"tw-elements": "^1.0.0"
|
"tw-elements": "^1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
||||||
"@types/leaflet": "^1.7.11",
|
"@types/leaflet": "^1.7.11",
|
||||||
"@types/react": "^18.2.0",
|
"@types/react": "^18.2.0",
|
||||||
"@types/react-dom": "^18.0.5",
|
"@types/react-dom": "^18.0.5",
|
||||||
@ -71,6 +72,39 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@eslint-community/eslint-plugin-eslint-comments": {
|
||||||
|
"version": "4.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-4.4.1.tgz",
|
||||||
|
"integrity": "sha512-lb/Z/MzbTf7CaVYM9WCFNQZ4L1yi3ev2fsFPF99h31ljhSEyUoyEsKsNWiU+qD1glbYTDJdqgyaLKtyTkkqtuQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"escape-string-regexp": "^4.0.0",
|
||||||
|
"ignore": "^5.2.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/eslint"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@eslint-community/eslint-plugin-eslint-comments/node_modules/escape-string-regexp": {
|
||||||
|
"version": "4.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
|
||||||
|
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@eslint-community/eslint-utils": {
|
"node_modules/@eslint-community/eslint-utils": {
|
||||||
"version": "4.4.1",
|
"version": "4.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz",
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
"author": "Anton Tranelis",
|
"author": "Anton Tranelis",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
||||||
"@types/leaflet": "^1.7.11",
|
"@types/leaflet": "^1.7.11",
|
||||||
"@types/react": "^18.2.0",
|
"@types/react": "^18.2.0",
|
||||||
"@types/react-dom": "^18.0.5",
|
"@types/react-dom": "^18.0.5",
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
// eslint-disable-next-line no-undef
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: {
|
plugins: {
|
||||||
tailwindcss: {},
|
tailwindcss: {},
|
||||||
|
|||||||
@ -12,7 +12,6 @@ const AssetContext = createContext<UseAssetManagerResult>({
|
|||||||
|
|
||||||
function useAssetsManager(): {
|
function useAssetsManager(): {
|
||||||
api: AssetsApi
|
api: AssetsApi
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setAssetsApi: (api: AssetsApi) => void
|
setAssetsApi: (api: AssetsApi) => void
|
||||||
} {
|
} {
|
||||||
const [api, setApi] = useState<AssetsApi>({} as AssetsApi)
|
const [api, setApi] = useState<AssetsApi>({} as AssetsApi)
|
||||||
|
|||||||
@ -16,18 +16,13 @@ type AuthCredentials = {
|
|||||||
type AuthContextProps = {
|
type AuthContextProps = {
|
||||||
isAuthenticated: boolean
|
isAuthenticated: boolean
|
||||||
user: UserItem | null
|
user: UserItem | null
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>
|
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>
|
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>
|
||||||
loading: boolean
|
loading: boolean
|
||||||
logout: () => Promise<any>
|
logout: () => Promise<any>
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateUser: (user: UserItem) => any
|
updateUser: (user: UserItem) => any
|
||||||
token: string | null
|
token: string | null
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
requestPasswordReset: (email: string, reset_url: string) => Promise<any>
|
requestPasswordReset: (email: string, reset_url: string) => Promise<any>
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
passwordReset: (token: string, new_password: string) => Promise<any>
|
passwordReset: (token: string, new_password: string) => Promise<any>
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +106,6 @@ export const AuthProvider = ({ userApi, children }: AuthProviderProps) => {
|
|||||||
|
|
||||||
const updateUser = async (user: UserItem) => {
|
const updateUser = async (user: UserItem) => {
|
||||||
setLoading(true)
|
setLoading(true)
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
const { id, ...userRest } = user
|
const { id, ...userRest } = user
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -10,7 +10,6 @@ const QuestContext = createContext<UseQuestManagerResult>({
|
|||||||
|
|
||||||
function useQuestsManager(initialOpen: boolean): {
|
function useQuestsManager(initialOpen: boolean): {
|
||||||
open: boolean
|
open: boolean
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setQuestsOpen: (open: boolean) => void
|
setQuestsOpen: (open: boolean) => void
|
||||||
} {
|
} {
|
||||||
const [open, setOpen] = useState<boolean>(initialOpen)
|
const [open, setOpen] = useState<boolean>(initialOpen)
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import * as React from 'react'
|
|||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { TagView } from '../Templates/TagView'
|
import { TagView } from '../Templates/TagView'
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
export const Autocomplete = ({
|
export const Autocomplete = ({
|
||||||
inputProps,
|
inputProps,
|
||||||
suggestions,
|
suggestions,
|
||||||
|
|||||||
@ -5,7 +5,6 @@ interface ComboBoxProps {
|
|||||||
id?: string
|
id?: string
|
||||||
options: { value: string; label: string }[]
|
options: { value: string; label: string }[]
|
||||||
value: string
|
value: string
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
onValueChange: (newValue: string) => void
|
onValueChange: (newValue: string) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ type SelectBoxProps = {
|
|||||||
containerStyle?: string
|
containerStyle?: string
|
||||||
defaultValue: string
|
defaultValue: string
|
||||||
placeholder?: string
|
placeholder?: string
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateFormValue: (value: string) => void
|
updateFormValue: (value: string) => void
|
||||||
|
|
||||||
options: { name: string; value: string }[]
|
options: { name: string; value: string }[]
|
||||||
|
|||||||
@ -11,7 +11,6 @@ type TextAreaProps = {
|
|||||||
inputStyle?: string
|
inputStyle?: string
|
||||||
defaultValue: string
|
defaultValue: string
|
||||||
placeholder?: string
|
placeholder?: string
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateFormValue?: (value: string) => void
|
updateFormValue?: (value: string) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,6 @@ type InputTextProps = {
|
|||||||
defaultValue?: string
|
defaultValue?: string
|
||||||
placeholder?: string
|
placeholder?: string
|
||||||
autocomplete?: string
|
autocomplete?: string
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateFormValue?: (value: string) => void
|
updateFormValue?: (value: string) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -5,9 +5,7 @@ import { Item } from '../../../../types'
|
|||||||
type StartEndInputProps = {
|
type StartEndInputProps = {
|
||||||
item?: Item
|
item?: Item
|
||||||
showLabels?: boolean
|
showLabels?: boolean
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateStartValue?: (value: string) => void
|
updateStartValue?: (value: string) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateEndValue?: (value: string) => void
|
updateEndValue?: (value: string) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -38,18 +38,18 @@ export const TextView = ({
|
|||||||
|
|
||||||
if (item && text) replacedText = fixUrls(text)
|
if (item && text) replacedText = fixUrls(text)
|
||||||
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
if (replacedText) {
|
if (replacedText) {
|
||||||
replacedText = replacedText.replace(/(?<!\]?\()https?:\/\/[^\s)]+(?!\))/g, (url) => {
|
replacedText = replacedText.replace(/(?<!\]?\()https?:\/\/[^\s)]+(?!\))/g, (url) => {
|
||||||
let shortUrl = url
|
let shortUrl = url
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
if (url.match('^https://')) {
|
if (url.match('^https://')) {
|
||||||
shortUrl = url.split('https://')[1]
|
shortUrl = url.split('https://')[1]
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
if (url.match('^http://')) {
|
if (url.match('^http://')) {
|
||||||
shortUrl = url.split('http://')[1]
|
shortUrl = url.split('http://')[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
return `[${shortUrl}](${url})`
|
return `[${shortUrl}](${url})`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,6 @@ const FilterContext = createContext<UseFilterManagerResult>({
|
|||||||
toggleVisibleLayer: () => {},
|
toggleVisibleLayer: () => {},
|
||||||
resetVisibleLayers: () => {},
|
resetVisibleLayers: () => {},
|
||||||
isLayerVisible: () => true,
|
isLayerVisible: () => true,
|
||||||
|
|
||||||
addVisibleGroupType: () => {},
|
addVisibleGroupType: () => {},
|
||||||
toggleVisibleGroupType: () => {},
|
toggleVisibleGroupType: () => {},
|
||||||
isGroupTypeVisible: () => true,
|
isGroupTypeVisible: () => true,
|
||||||
@ -43,25 +42,17 @@ function useFilterManager(initialTags: Tag[]): {
|
|||||||
searchPhrase: string
|
searchPhrase: string
|
||||||
visibleLayers: LayerProps[]
|
visibleLayers: LayerProps[]
|
||||||
visibleGroupTypes: string[]
|
visibleGroupTypes: string[]
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addFilterTag: (tag: Tag) => void
|
addFilterTag: (tag: Tag) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
removeFilterTag: (name: string) => void
|
removeFilterTag: (name: string) => void
|
||||||
resetFilterTags: () => void
|
resetFilterTags: () => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setSearchPhrase: (phrase: string) => void
|
setSearchPhrase: (phrase: string) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addVisibleLayer: (layer: LayerProps) => void
|
addVisibleLayer: (layer: LayerProps) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
toggleVisibleLayer: (layer: LayerProps) => void
|
toggleVisibleLayer: (layer: LayerProps) => void
|
||||||
resetVisibleLayers: () => void
|
resetVisibleLayers: () => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
isLayerVisible: (layer: LayerProps) => boolean
|
isLayerVisible: (layer: LayerProps) => boolean
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addVisibleGroupType: (groupType: string) => void
|
addVisibleGroupType: (groupType: string) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
toggleVisibleGroupType: (groupType: string) => void
|
toggleVisibleGroupType: (groupType: string) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
isGroupTypeVisible: (groupType: string) => boolean
|
isGroupTypeVisible: (groupType: string) => boolean
|
||||||
} {
|
} {
|
||||||
const [filterTags, dispatchTags] = useReducer((state: Tag[], action: ActionType) => {
|
const [filterTags, dispatchTags] = useReducer((state: Tag[], action: ActionType) => {
|
||||||
|
|||||||
@ -25,17 +25,11 @@ const ItemContext = createContext<UseItemManagerResult>({
|
|||||||
|
|
||||||
function useItemsManager(initialItems: Item[]): {
|
function useItemsManager(initialItems: Item[]): {
|
||||||
items: Item[]
|
items: Item[]
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addItem: (item: Item) => void
|
addItem: (item: Item) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateItem: (item: Item) => void
|
updateItem: (item: Item) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
removeItem: (item: Item) => void
|
removeItem: (item: Item) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
resetItems: (layer: LayerProps) => void
|
resetItems: (layer: LayerProps) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setItemsApi: (layer: LayerProps) => void
|
setItemsApi: (layer: LayerProps) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setItemsData: (layer: LayerProps) => void
|
setItemsData: (layer: LayerProps) => void
|
||||||
allItemsLoaded: boolean
|
allItemsLoaded: boolean
|
||||||
} {
|
} {
|
||||||
|
|||||||
@ -13,7 +13,6 @@ const LayerContext = createContext<UseItemManagerResult>({
|
|||||||
|
|
||||||
function useLayerManager(initialLayers: LayerProps[]): {
|
function useLayerManager(initialLayers: LayerProps[]): {
|
||||||
layers: LayerProps[]
|
layers: LayerProps[]
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addLayer: (layer: LayerProps) => void
|
addLayer: (layer: LayerProps) => void
|
||||||
} {
|
} {
|
||||||
const [layers, dispatch] = useReducer((state: LayerProps[], action: ActionType) => {
|
const [layers, dispatch] = useReducer((state: LayerProps[], action: ActionType) => {
|
||||||
|
|||||||
@ -23,9 +23,7 @@ const LeafletRefsContext = createContext<UseLeafletRefsManagerResult>({
|
|||||||
|
|
||||||
function useLeafletRefsManager(initialLeafletRefs: {}): {
|
function useLeafletRefsManager(initialLeafletRefs: {}): {
|
||||||
leafletRefs: Record<string, LeafletRef>
|
leafletRefs: Record<string, LeafletRef>
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addMarker: (item: Item, marker: Marker) => void
|
addMarker: (item: Item, marker: Marker) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
addPopup: (item: Item, popup: Popup) => void
|
addPopup: (item: Item, popup: Popup) => void
|
||||||
} {
|
} {
|
||||||
const [leafletRefs, dispatch] = useReducer(
|
const [leafletRefs, dispatch] = useReducer(
|
||||||
|
|||||||
@ -17,13 +17,9 @@ const PermissionContext = createContext<UsePermissionManagerResult>({
|
|||||||
|
|
||||||
function usePermissionsManager(initialPermissions: Permission[]): {
|
function usePermissionsManager(initialPermissions: Permission[]): {
|
||||||
permissions: Permission[]
|
permissions: Permission[]
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setPermissionApi: (api: ItemsApi<any>) => void
|
setPermissionApi: (api: ItemsApi<any>) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setPermissionData: (data: Permission[]) => void
|
setPermissionData: (data: Permission[]) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
setAdminRole: (adminRole: string) => void
|
setAdminRole: (adminRole: string) => void
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
hasUserPermission: (
|
hasUserPermission: (
|
||||||
collectionName: string,
|
collectionName: string,
|
||||||
action: PermissionAction,
|
action: PermissionAction,
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
/* eslint-disable no-unused-vars */
|
|
||||||
import { useCallback, useReducer, createContext, useContext, useState } from 'react'
|
import { useCallback, useReducer, createContext, useContext, useState } from 'react'
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { Item, ItemsApi, Tag } from '../../../types'
|
import { Item, ItemsApi, Tag } from '../../../types'
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { TagsWidget } from '../Subcomponents/TagsWidget'
|
|||||||
import { useNavigate } from 'react-router-dom'
|
import { useNavigate } from 'react-router-dom'
|
||||||
import { useUpdateItem } from '../../Map/hooks/useItems'
|
import { useUpdateItem } from '../../Map/hooks/useItems'
|
||||||
|
|
||||||
// eslint-disable-next-line react/prop-types
|
|
||||||
export const TabsForm = ({
|
export const TabsForm = ({
|
||||||
item,
|
item,
|
||||||
state,
|
state,
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import { useItems } from '../../Map/hooks/useItems'
|
|||||||
import { useAssetApi } from '../../AppShell/hooks/useAssets'
|
import { useAssetApi } from '../../AppShell/hooks/useAssets'
|
||||||
import { timeAgo } from '../../../Utils/TimeAgo'
|
import { timeAgo } from '../../../Utils/TimeAgo'
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
export const TabsView = ({
|
export const TabsView = ({
|
||||||
attestations,
|
attestations,
|
||||||
userType,
|
userType,
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export const mailRegex = /([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)/gi
|
|||||||
export function fixUrls(message: string): string {
|
export function fixUrls(message: string): string {
|
||||||
message = message.replace(urlRegex, function (url) {
|
message = message.replace(urlRegex, function (url) {
|
||||||
let hyperlink = url.replace(' ', '')
|
let hyperlink = url.replace(' ', '')
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
if (!hyperlink.match('^https?://')) {
|
if (!hyperlink.match('^https?://')) {
|
||||||
hyperlink = 'https://' + hyperlink
|
hyperlink = 'https://' + hyperlink
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
/* eslint-disable no-unused-vars */
|
|
||||||
|
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { ItemFormPopupProps } from './Components/Map/Subcomponents/ItemFormPopup'
|
import { ItemFormPopupProps } from './Components/Map/Subcomponents/ItemFormPopup'
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
/* eslint-disable no-undef */
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: ['./src/**/*.{js,jsx,ts,tsx}', './node_modules/tw-elements/dist/js/**/*.js'],
|
content: ['./src/**/*.{js,jsx,ts,tsx}', './node_modules/tw-elements/dist/js/**/*.js'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user