Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
maxneuvians committed Jun 13, 2024
1 parent 9612998 commit 7d82573
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
useThreatPacksContext,
DEFAULT_NEW_ENTITY_ID,
ThreatPack,
getNewThreatStatement
getNewThreatStatement,
} from '@aws/threat-composer';
import { useEffect, useState } from 'react';
import { useLocation, useParams } from 'react-router-dom';
Expand Down
20 changes: 10 additions & 10 deletions packages/threat-composer/src/utils/getNewThreatStatement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
See the License for the specific language governing permissions and
limitations under the License.
******************************************************************************************************************** */
import { v4 as uuidV4 } from 'uuid';
import { TemplateThreatStatement } from '../../customTypes';

const getNewThreatStatement = (): TemplateThreatStatement => {
return {
id: uuidV4(),
numericId: -1,
};
import { v4 as uuidV4 } from 'uuid';
import { TemplateThreatStatement } from '../../customTypes';

const getNewThreatStatement = (): TemplateThreatStatement => {
return {
id: uuidV4(),
numericId: -1,
};

export default getNewThreatStatement;
};

export default getNewThreatStatement;

0 comments on commit 7d82573

Please sign in to comment.