-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(): remove useless exports #2492
base: fix_vite_hmr_multi_exports
Are you sure you want to change the base?
Conversation
Signed-off-by: sBouzols <[email protected]>
@@ -91,7 +91,7 @@ const emptyFormData = { | |||
...emptyProperties, | |||
}; | |||
|
|||
export const VSC_MODIFICATION_TABS = { | |||
const VSC_MODIFICATION_TABS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const VSC_MODIFICATION_TABS = { | |
enum VSC_MODIFICATION_TABS { |
@@ -29,7 +29,7 @@ interface FormulaProps { | |||
index: number; | |||
} | |||
|
|||
export const OPERATOR_OPTIONS = [ | |||
const OPERATOR_OPTIONS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const OPERATOR_OPTIONS = [ | |
enum OPERATOR_OPTIONS { |
@@ -83,14 +83,14 @@ export const getLccConverterStationSchema = () => | |||
[CONNECTIVITY]: getConnectivityWithPositionSchema(false), | |||
}); | |||
|
|||
export const getEmptyShuntCompensatorOnSideFormData = () => ({ | |||
const getEmptyShuntCompensatorOnSideFormData = () => ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const getEmptyShuntCompensatorOnSideFormData = () => ({ | |
export function getEmptyShuntCompensatorOnSideFormData() { | |
return ({ |
[SHUNT_COMPENSATOR_ID]: null, | ||
[SHUNT_COMPENSATOR_NAME]: '', | ||
[MAX_Q_AT_NOMINAL_V]: null, | ||
[SHUNT_COMPENSATOR_SELECTED]: true, | ||
}); | ||
|
||
export const getEmptyFiltersShuntCompensatorTableFormData = (count = 0) => | ||
const getEmptyFiltersShuntCompensatorTableFormData = (count = 0) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const getEmptyFiltersShuntCompensatorTableFormData = (count = 0) => | |
export function getEmptyFiltersShuntCompensatorTableFormData(count = 0) { | |
return |
@@ -130,7 +130,7 @@ const getShuntCompensatorOnSideCreateData = ( | |||
); | |||
}; | |||
|
|||
export const getShuntCompensatorOnSideFromSearchCopy = (shuntCompensatorInfos?: ShuntCompensatorInfos[]) => { | |||
const getShuntCompensatorOnSideFromSearchCopy = (shuntCompensatorInfos?: ShuntCompensatorInfos[]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const getShuntCompensatorOnSideFromSearchCopy = (shuntCompensatorInfos?: ShuntCompensatorInfos[]) => { | |
export function getShuntCompensatorOnSideFromSearchCopy(shuntCompensatorInfos?: ShuntCompensatorInfos[]) { |
@@ -39,7 +39,7 @@ const styles = { | |||
}, | |||
}; | |||
|
|||
export const NON_EVACUATED_ENERGY_RESULT_INVALIDATIONS = ['nonEvacuatedEnergyResult']; | |||
const NON_EVACUATED_ENERGY_RESULT_INVALIDATIONS = ['nonEvacuatedEnergyResult']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const NON_EVACUATED_ENERGY_RESULT_INVALIDATIONS = ['nonEvacuatedEnergyResult']; | |
const NON_EVACUATED_ENERGY_RESULT_INVALIDATIONS = ['nonEvacuatedEnergyResult'] as const; |
@@ -14,7 +14,7 @@ import PropTypes from 'prop-types'; | |||
import { CustomAGGrid } from '@gridsuite/commons-ui'; | |||
import { suppressEventsToPreventEditMode } from '../commons/utils'; | |||
|
|||
export const LineTypesCatalogSelectorDialogTabs = { | |||
const LineTypesCatalogSelectorDialogTabs = { | |||
AERIAL_TAB: 0, | |||
UNDERGROUND_TAB: 1, | |||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}; | |
} as const; |
No description provided.