Skip to content

Commit a79d33a

Browse files
piyalbasuvcarl
andauthored
fixing paths for imports (#11)
* content script update * whitelist PR preview env * adding UI work for mnemonic phrase screen plus some url whitelisting improvemnents * rm debugger * implement UX fixes and design for mnemonic phrase views * PR comments * organizing based on Chrome's naming convention and ease of sharing code between components * remove session timer for rn * adding lyra status method placeholder * removing demo code * README update * README update * create an api/internal folder and add a sketch * Update README.md Co-authored-by: Carl Vitullo <vcarl@users.noreply.github.com> Co-authored-by: Carl Vitullo <vcarl@users.noreply.github.com>
1 parent b27a36a commit a79d33a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/popup/ducks/authServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
loadAccount as loadAccountService,
1313
confirmPassword as confirmPasswordService,
1414
signOut as signOutService,
15-
} from "api";
15+
} from "api/internal";
1616

1717
interface ErrorMessage {
1818
errorMessage: string;

src/popup/hooks/useMnemonicPhrase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from "react";
2-
import { getMnemonicPhrase } from "api";
2+
import { getMnemonicPhrase } from "api/internal";
33

44
const useMnemonicPhrase = () => {
55
const [mnemonicPhrase, setMnemonicPhrase] = useState("");

src/popup/views/Account/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import CopyToClipboard from "react-copy-to-clipboard";
33
import styled from "styled-components";
44
import { publicKeySelector } from "popup/ducks/authServices";
55
import { useSelector } from "react-redux";
6-
import { getAccountBalance } from "api";
6+
import { getAccountBalance } from "api/internal";
77
import Tooltip from "popup/components/Tooltip";
88

99
const StyledTooltip = styled(Tooltip)``;

src/popup/views/GrantAccess/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { useLocation } from "react-router-dom";
3-
import { rejectAccess, grantAccess } from "api";
3+
import { rejectAccess, grantAccess } from "api/internal";
44

55
const GrantAccess = () => {
66
const location = useLocation();

src/popup/views/SignTransaction/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from "react";
1+
import React from "react";
22
import buffer from "buffer";
33
import { useLocation } from "react-router-dom";
44
import { get } from "lodash";
@@ -8,7 +8,7 @@ import styled from "styled-components";
88
import { publicKeySelector } from "popup/ducks/authServices";
99
import { operationTypes } from "statics";
1010

11-
import { rejectAccess, signTransaction } from "api";
11+
import { rejectAccess, signTransaction } from "api/internal";
1212

1313
const OperationBox = styled.div`
1414
background: #efefef;

0 commit comments

Comments
 (0)