Skip to content

Commit

Permalink
chore: Move Expression.tsx to ux-editor (#13894)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt95 authored Oct 25, 2024
1 parent 239d06f commit 61ffd78
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { PlusIcon } from '@studio/icons';
import { useBpmnContext } from '../../../contexts/BpmnContext';
import { Paragraph } from '@digdir/designsystemet-react';
import { BpmnExpressionModeler } from '../../../utils/bpmnModeler/BpmnExpressionModeler';
import { useExpressionTexts } from 'app-shared/components/Expression/useExpressionTexts';
import { useExpressionTexts } from 'app-shared/hooks/useExpressionTexts';
import { useTranslation } from 'react-i18next';
import classes from './ConfigSequenceFlow.module.css';
import { ConfigIcon } from '../../../components/ConfigPanel/ConfigContent/ConfigIcon';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import type { StudioExpressionProps } from '@studio/components';
import { StudioExpression } from '@studio/components';
import { useExpressionTexts } from './useExpressionTexts';
import { useExpressionTexts } from 'app-shared/hooks/useExpressionTexts';

export type ExpressionProps = Omit<StudioExpressionProps, 'texts'>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmen
import { useDataModelMetadataQuery } from '../../../hooks/queries/useDataModelMetadataQuery';
import { Paragraph } from '@digdir/designsystemet-react';
import classes from './ExpressionContent.module.css';
import { Expression as ExpressionWithTexts } from 'app-shared/components/Expression';
import { Expression as ExpressionWithTexts } from './Expression';
import { useText, useAppContext } from '../../../hooks';

export interface ExpressionContentProps {
Expand Down

0 comments on commit 61ffd78

Please sign in to comment.