Skip to content

Commit

Permalink
feat: update renamed repo (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
superical authored Dec 5, 2023
1 parent 3ff8172 commit 37e04f7
Show file tree
Hide file tree
Showing 84 changed files with 391 additions and 1,301 deletions.
1,497 changes: 289 additions & 1,208 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@tradetrust-tt/tradetrust": "^6.9.0",
"@govtechsg/open-attestation-utils": "^1.0.9",
"@tradetrust-tt/token-registry": "^4.1.7",
"@govtechsg/tradetrust-ui-components": "^2.21.0",
"@govtechsg/tradetrust-utils": "^1.6.0",
"@tradetrust-tt/tradetrust-ui-components": "^2.21.0",
"@tradetrust-tt/tradetrust-utils": "^1.6.0",
"@reduxjs/toolkit": "^1.6.1",
"@types/gtag.js": "0.0.8",
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/AppContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NetworkBar, Overlay } from "@govtechsg/tradetrust-ui-components";
import { NetworkBar, Overlay } from "@tradetrust-tt/tradetrust-ui-components";
import React, { useEffect, useState } from "react";
import { useLocation } from "react-router-dom";
import { Footer } from "./components/Layout/Footer";
Expand Down
2 changes: 1 addition & 1 deletion src/common/errors/NoMetaMaskError.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MessageTitle } from "@govtechsg/tradetrust-ui-components";
import { MessageTitle } from "@tradetrust-tt/tradetrust-ui-components";

export class NoMetaMaskError extends Error {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion src/common/hooks/useNetworkSelect.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useCallback, useContext } from "react";
import { useProviderContext } from "../contexts/provider";
import { OverlayContext, showDocumentTransferMessage } from "@govtechsg/tradetrust-ui-components";
import { OverlayContext, showDocumentTransferMessage } from "@tradetrust-tt/tradetrust-ui-components";
import { LoadingModal } from "../../components/UI/Overlay";
import { ChainId } from "../../constants/chain-info";

Expand Down
2 changes: 1 addition & 1 deletion src/common/utils/overlay.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Textual } from "@govtechsg/tradetrust-ui-components";
import { Textual } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent } from "react";

export const contentPdpa: FunctionComponent<React.ReactNode> = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dropdown, DropdownItem } from "@govtechsg/tradetrust-ui-components";
import { Dropdown, DropdownItem } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent } from "react";
import { AssetManagementActions } from "./../../AssetManagementActions";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Overlay, OverlayContextProvider } from "@govtechsg/tradetrust-ui-components";
import { Overlay, OverlayContextProvider } from "@tradetrust-tt/tradetrust-ui-components";
import React, { useState } from "react";
import { FormState } from "../../../constants/FormState";
import { AssetManagementActions } from "../AssetManagementActions";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent } from "react";
import { BackArrow } from "@govtechsg/tradetrust-ui-components";
import { BackArrow } from "@tradetrust-tt/tradetrust-ui-components";
import { AssetManagementActions } from "./../../AssetManagementActions";

interface AssetManagementTitleProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect } from "react";
import { FormState } from "../../../../../constants/FormState";
import { TagBorderedLg } from "../../../../UI/Tag";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Button, MessageTitle, OverlayContext, showDocumentTransferMessage } from "@govtechsg/tradetrust-ui-components";
import {
Button,
MessageTitle,
OverlayContext,
showDocumentTransferMessage,
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext } from "react";
import { TagBorderedLg } from "../../../../UI/Tag";
import { AssetInformationPanel } from "../../../AssetInformationPanel";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OverlayAddressBook, ButtonIcon, useOverlayContext, Input } from "@govtechsg/tradetrust-ui-components";
import { OverlayAddressBook, ButtonIcon, useOverlayContext, Input } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent } from "react";
import { Book } from "react-feather";
import { NETWORK_NAME } from "../../../../../config";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect } from "react";
import { FormState } from "../../../../../constants/FormState";
import { isEthereumAddress } from "../../../../../utils";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect, useState } from "react";
import { FormState } from "../../../../../constants/FormState";
import { isValidEndorseTransfer } from "../../../../../utils";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect, useState } from "react";
import { FormState } from "../../../../../constants/FormState";
import { isEthereumAddress } from "../../../../../utils";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OverlayContext } from "@govtechsg/tradetrust-ui-components";
import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components";

import { fireEvent, render } from "@testing-library/react";
import React from "react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect } from "react";
import { FormState } from "../../../../../constants/FormState";
import { TagBorderedLg } from "../../../../UI/Tag";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
MessageTitle,
OverlayContext,
showDocumentTransferMessage,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect } from "react";
import { FormState } from "../../../../../constants/FormState";
import { AssetInformationPanel } from "../../../AssetInformationPanel";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OverlayContext,
showDocumentTransferMessage,
LoaderSpinner,
} from "@govtechsg/tradetrust-ui-components";
} from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useEffect, useState } from "react";
import { FormState } from "../../../../../constants/FormState";
import { isEthereumAddress } from "../../../../../utils";
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonVideo/ButtonVideo.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { render, screen, fireEvent } from "@testing-library/react";
import { ButtonVideo } from "./ButtonVideo";
import { OverlayContextProvider, Overlay } from "@govtechsg/tradetrust-ui-components";
import { OverlayContextProvider, Overlay } from "@tradetrust-tt/tradetrust-ui-components";

const RenderWithOverlay = ({ children }: any) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonVideo/ButtonVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent, useContext } from "react";
import { OverlayContext } from "@govtechsg/tradetrust-ui-components";
import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components";

interface ButtonVideoProps {
className?: string;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import React, { FunctionComponent } from "react";
import { Link } from "react-router-dom";
import { Swiper, SwiperSlide } from "swiper/react";
import { Autoplay, Pagination } from "swiper";
import { Youtube, Button, ButtonSize } from "@govtechsg/tradetrust-ui-components";
import { Youtube, Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components";
import ReactMarkdown from "react-markdown";
import { ButtonVideo } from "../ButtonVideo";

import "swiper/swiper.min.css";
import "swiper/modules/pagination/pagination.min.css";
import "./swiper-custom.css";
import { GaAction, GaCategory } from "../../types";
import { gaEvent } from "@govtechsg/tradetrust-utils";
import { gaEvent } from "@tradetrust-tt/tradetrust-utils";
import { isExternalLink } from "../../utils";

interface PageLink {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CertificateDropZone } from "./CertificateDropZone";
import { Provider } from "react-redux";
import { configureStore } from "../../store";
import { states } from "../../reducers/certificate";
import { CONSTANTS } from "@govtechsg/tradetrust-utils";
import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils";
import {
whenDocumentHashInvalidAndNotIssued,
whenDocumentHashInvalid,
Expand Down
2 changes: 1 addition & 1 deletion src/components/CertificateDropZone/CertificateDropZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { View, ViewVerificationError, ViewActionError, ViewVerificationPending }
import { isValid } from "@tradetrust-tt/tt-verify";
import { useProviderContext } from "../../common/contexts/provider";
import { getChainId } from "../../utils/shared";
import { CONSTANTS } from "@govtechsg/tradetrust-utils";
import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils";
import { useNetworkSelect } from "./../../common/hooks/useNetworkSelect";

const { TYPES } = CONSTANTS;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { Button } from "@govtechsg/tradetrust-ui-components";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";
import { useDispatch } from "react-redux";
import { processQrCode } from "../../reducers/certificate";
import QrReader, { QrDataType } from "../QrReader/qrReader";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import { FunctionComponent } from "react";
import { ErrorBoundary, FallbackComponentType } from "../ErrorBoundary";
import { getCurrentProvider, useProviderContext } from "../../common/contexts/provider";
import { ErrorPage, ErrorPageProps } from "@govtechsg/tradetrust-ui-components";
import { ErrorPage, ErrorPageProps } from "@tradetrust-tt/tradetrust-ui-components";
import { Link } from "react-router-dom";
import { UnsupportedNetworkError } from "../../common/errors";

Expand Down
2 changes: 1 addition & 1 deletion src/components/CostEstimationContent/CostModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent, useState, useEffect, useCallback } from "react";
import { OverlayContent } from "@govtechsg/tradetrust-ui-components";
import { OverlayContent } from "@tradetrust-tt/tradetrust-ui-components";
import { CostData } from "./types";
import { FiatLabel } from "@govtechsg/open-attestation-utils";
import { currentDateStr } from "../../utils";
Expand Down
2 changes: 1 addition & 1 deletion src/components/CostEstimationContent/CostOperation.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent, useContext, useCallback } from "react";
import { OverlayContext } from "@govtechsg/tradetrust-ui-components";
import { OverlayContext } from "@tradetrust-tt/tradetrust-ui-components";
import { useFetchGasPrice } from "../../common/hooks/useFetchGasPrice";
import { CostData, PriceTable } from "./types";
import { CostModal } from "./CostModal";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent } from "react";
import { Button } from "@govtechsg/tradetrust-ui-components";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";

interface DemoCreateButtonRowProps {
onBack?: () => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Input, Button } from "@govtechsg/tradetrust-ui-components";
import { Input, Button } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useState, useCallback } from "react";
import { useDropzone } from "react-dropzone";
import { Upload } from "react-feather";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Demo/DemoCreate/DemoCreateForm/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProgressBar } from "@govtechsg/tradetrust-ui-components";
import { ProgressBar } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext } from "react";
import { DemoCreateButtonRow } from "../DemoCreateButtonRow";
import { DemoCreateContext } from "../contexts/DemoCreateContext";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Demo/DemoCreate/DemoCreateIssue/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { FunctionComponent, useCallback, useContext, useEffect } from "react";
import { saveAs } from "file-saver";
import { Button, ProgressBar } from "@govtechsg/tradetrust-ui-components";
import { gaEvent } from "@govtechsg/tradetrust-utils";
import { Button, ProgressBar } from "@tradetrust-tt/tradetrust-ui-components";
import { gaEvent } from "@tradetrust-tt/tradetrust-utils";
import { CheckCircle, XCircle } from "react-feather";
import { Link } from "react-router-dom";
import { useSelector } from "react-redux";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Demo/DemoCreate/DemoCreateReview/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OpenAttestationDocument } from "@tradetrust-tt/tradetrust";
import { ProgressBar, ToggleSwitch } from "@govtechsg/tradetrust-ui-components";
import { gaEvent } from "@govtechsg/tradetrust-utils";
import { ProgressBar, ToggleSwitch } from "@tradetrust-tt/tradetrust-ui-components";
import { gaEvent } from "@tradetrust-tt/tradetrust-utils";
import React, { FunctionComponent, useCallback, useContext, useEffect, useMemo, useState } from "react";
import { useDispatch, useSelector } from "react-redux";
import { useProviderContext } from "../../../../common/contexts/provider";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Demo/DemoCreate/DemoCreateStart/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button } from "@govtechsg/tradetrust-ui-components";
import { gaEvent } from "@govtechsg/tradetrust-utils";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";
import { gaEvent } from "@tradetrust-tt/tradetrust-utils";
import React, { FunctionComponent, useContext, useEffect, useState } from "react";
import { ethers } from "ethers";
import { useDispatch, useSelector } from "react-redux";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Demo/DemoCreate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { DemoCreateContext } from "./contexts/DemoCreateContext";
import { Prompt } from "react-router";
import { useHistory } from "react-router-dom";
import { Location } from "history";
import { useOverlayContext } from "@govtechsg/tradetrust-ui-components";
import { gaEvent } from "@govtechsg/tradetrust-utils";
import { useOverlayContext } from "@tradetrust-tt/tradetrust-ui-components";
import { gaEvent } from "@tradetrust-tt/tradetrust-utils";
import { DemoCreateForm } from "./DemoCreateForm";
import { DemoCreateHeader } from "./DemoCreateHeader";
import { DemoCreateIssue } from "./DemoCreateIssue";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Demo/DemoInitial/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, Input, OverlayContext } from "@govtechsg/tradetrust-ui-components";
import { Button, Input, OverlayContext } from "@tradetrust-tt/tradetrust-ui-components";
import React, { FunctionComponent, useContext, useState } from "react";
import { Checkbox } from "../../UI/Checkbox";
import { useHistory } from "react-router-dom";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Demo/ModalNavigateOut/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent, useEffect } from "react";
import { OverlayContent, Button } from "@govtechsg/tradetrust-ui-components";
import { OverlayContent, Button } from "@tradetrust-tt/tradetrust-ui-components";

interface ModalNavigateOutProps {
closeModal: () => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { render, screen } from "@testing-library/react";
import { DetailedErrors } from "./DetailedErrors";
import { CONSTANTS } from "@govtechsg/tradetrust-utils";
import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils";
import { VerificationFragment } from "@tradetrust-tt/tt-verify";
import {
whenDocumentHashInvalidAndNotIssued,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FunctionComponent } from "react";
import { VerificationFragment } from "@tradetrust-tt/tt-verify";
import { CONSTANTS, errorMessageHandling } from "@govtechsg/tradetrust-utils";
import { CONSTANTS, errorMessageHandling } from "@tradetrust-tt/tradetrust-utils";

export const DetailedError: FunctionComponent<{ title: string; message: string }> = ({ title, message }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentDropzone/Views/View.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent } from "react";
import { Button, ButtonSize } from "@govtechsg/tradetrust-ui-components";
import { Button, ButtonSize } from "@tradetrust-tt/tradetrust-ui-components";
import { SampleMobile } from "../SampleMobile";
import { useProviderContext } from "../../../common/contexts/provider";

Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentDropzone/Views/ViewActionError.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FunctionComponent } from "react";
import { Link } from "react-router-dom";
import { Button } from "@govtechsg/tradetrust-ui-components";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";
import { useSelector } from "react-redux";
import { RootState } from "../../../reducers";
import { DetailedError } from "../../DocumentDropzone/DetailedErrors";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { screen, render, fireEvent } from "@testing-library/react";
import { ViewVerificationError } from "./ViewVerificationError";
import { Provider } from "react-redux";
import { configureStore } from "../../../store";
import { CONSTANTS } from "@govtechsg/tradetrust-utils";
import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils";

const RenderWithStore = ({ children, ...props }: any) => {
const {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FunctionComponent } from "react";
import { Link } from "react-router-dom";
import { Button } from "@govtechsg/tradetrust-ui-components";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";
import { useSelector } from "react-redux";
import { RootState } from "../../../reducers";
import { DetailedErrors } from "../DetailedErrors";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent } from "react";
import { LoaderSpinner } from "@govtechsg/tradetrust-ui-components";
import { LoaderSpinner } from "@tradetrust-tt/tradetrust-ui-components";

export const ViewVerificationPending: FunctionComponent = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentStatus/DocumentStatus.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
whenDocumentHashInvalidAndNotIssued,
whenDocumentIssuerIdentityInvalidDid,
} from "../../test/fixture/verifier-responses";
import { CONSTANTS } from "@govtechsg/tradetrust-utils";
import { CONSTANTS } from "@tradetrust-tt/tradetrust-utils";
import { Provider } from "react-redux";
import { configureStore } from "../../store";
import { v2, wrapDocument } from "@tradetrust-tt/tradetrust";
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentStatus/StatusChecks.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FunctionComponent } from "react";
import { VerificationFragment } from "@tradetrust-tt/tt-verify";
import { CONSTANTS, interpretFragments } from "@govtechsg/tradetrust-utils";
import { CONSTANTS, interpretFragments } from "@tradetrust-tt/tradetrust-utils";
import { StatusCheck } from "./StatusCheck";

interface StatusChecksProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentUtility/DocumentUtility.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { v2, utils } from "@tradetrust-tt/tradetrust";
import { ButtonIcon } from "@govtechsg/tradetrust-ui-components";
import { ButtonIcon } from "@tradetrust-tt/tradetrust-ui-components";
import QRCode, { ImageSettings } from "qrcode.react";
import React, { FunctionComponent, useState } from "react";
import { Download, Printer } from "react-feather";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import React, { FunctionComponent, useContext, useEffect } from "react";
import { useEndorsementChain } from "../../common/hooks/useEndorsementChain";
import { EndorsementChainLayout } from "./EndorsementChainLayout";
import { OverlayContext, OverlayContextProvider, ProviderTimeoutMessage } from "@govtechsg/tradetrust-ui-components";
import {
OverlayContext,
OverlayContextProvider,
ProviderTimeoutMessage,
} from "@tradetrust-tt/tradetrust-ui-components";
import { useTimer } from "react-timer-hook";

const ProviderDocumentationURL = "https://docs.tradetrust.io/docs/advanced/add-polygon-networks-to-metamask-wallet/";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BackArrow } from "@govtechsg/tradetrust-ui-components";
import { BackArrow } from "@tradetrust-tt/tradetrust-ui-components";
import { useIdentifierResolver } from "@govtechsg/address-identity-resolver";
import { format } from "date-fns";
import React, { FunctionComponent } from "react";
Expand Down
2 changes: 1 addition & 1 deletion src/components/EtaPageContent/EtaPageContent.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FunctionComponent } from "react";
import { Button } from "@govtechsg/tradetrust-ui-components";
import { Button } from "@tradetrust-tt/tradetrust-ui-components";
import { FormSgContactLink } from "../../routes";

const SectionMap = () => {
Expand Down
Loading

0 comments on commit 37e04f7

Please sign in to comment.