mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
replace React bunder based on webpack with Vite #952
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { FC, useCallback, useEffect, useState } from 'react';
|
||||
|
||||
import * as FeaturesApi from '../../api/features';
|
||||
import * as FeaturesApi from 'api/features';
|
||||
|
||||
import { extractErrorMessage, RequiredChildrenProps } from '../../utils';
|
||||
import { Features } from '../../types';
|
||||
import { ApplicationError, LoadingSpinner } from '../../components';
|
||||
import { extractErrorMessage, RequiredChildrenProps } from 'utils';
|
||||
import { Features } from 'types';
|
||||
import { ApplicationError, LoadingSpinner } from 'components';
|
||||
|
||||
import { FeaturesContext } from '.';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
import { Features } from '../../types';
|
||||
import { Features } from 'types';
|
||||
|
||||
export interface FeaturesContextValue {
|
||||
features: Features;
|
||||
|
||||
Reference in New Issue
Block a user