refactor: make features state consistent with codebase (#988)

This commit is contained in:
Aman Harwara
2022-04-20 20:11:32 +05:30
committed by GitHub
parent 7dae489617
commit 24d3aac3c7
7 changed files with 59 additions and 77 deletions

View File

@@ -1,7 +1,8 @@
import { Icon } from '@/Components/Icon'
import { TAG_FOLDERS_FEATURE_NAME } from '@/Constants'
import { usePremiumModal } from '@/Hooks/usePremiumModal'
import { KeyboardKey } from '@/Services/IOService'
import { FeaturesState, TAG_FOLDERS_FEATURE_NAME } from '@/UIModels/AppState/FeaturesState'
import { FeaturesState } from '@/UIModels/AppState/FeaturesState'
import { TagsState } from '@/UIModels/AppState/TagsState'
import '@reach/tooltip/styles.css'
import { SNTag } from '@standardnotes/snjs'

View File

@@ -1,9 +1,6 @@
import { TAG_FOLDERS_FEATURE_NAME, TAG_FOLDERS_FEATURE_TOOLTIP } from '@/Constants'
import { usePremiumModal } from '@/Hooks/usePremiumModal'
import {
FeaturesState,
TAG_FOLDERS_FEATURE_NAME,
TAG_FOLDERS_FEATURE_TOOLTIP,
} from '@/UIModels/AppState/FeaturesState'
import { FeaturesState } from '@/UIModels/AppState/FeaturesState'
import { Tooltip } from '@reach/tooltip'
import { observer } from 'mobx-react-lite'
import { FunctionComponent } from 'preact'