mirror of
https://github.com/RoboSats/robosats.git
synced 2024-09-11 14:05:51 +03:00
Unused code
This commit is contained in:
parent
5b8d6b4d32
commit
df6e476613
@ -9,9 +9,10 @@ interface Props {
|
||||
orderId: number;
|
||||
setAudit: (audit: boolean) => void;
|
||||
audit: boolean;
|
||||
createJsonFile: () => object
|
||||
}
|
||||
|
||||
const ChatBottom: React.FC<Props> = ({ orderId, setAudit, audit }) => {
|
||||
const ChatBottom: React.FC<Props> = ({ orderId, setAudit, audit, createJsonFile }) => {
|
||||
const { t } = useTranslation();
|
||||
const theme = useTheme();
|
||||
|
||||
@ -57,7 +58,4 @@ const ChatBottom: React.FC<Props> = ({ orderId, setAudit, audit }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default ChatBottom;
|
||||
function createJsonFile(): any {
|
||||
throw new Error('Function not implemented.');
|
||||
}
|
||||
export default ChatBottom;
|
@ -312,7 +312,7 @@ const EncryptedSocketChat: React.FC<Props> = ({
|
||||
onClickBack={() => setAudit(false)}
|
||||
/>
|
||||
|
||||
<ChatBottom orderId={orderId} audit={audit} setAudit={setAudit} />
|
||||
<ChatBottom orderId={orderId} audit={audit} setAudit={setAudit} createJsonFile={createJsonFile}/>
|
||||
</Grid>
|
||||
</Container>
|
||||
);
|
||||
|
@ -299,7 +299,7 @@ const EncryptedTurtleChat: React.FC<Props> = ({
|
||||
passphrase={token || ''}
|
||||
onClickBack={() => setAudit(false)}
|
||||
/>
|
||||
<ChatBottom orderId={orderId} audit={audit} setAudit={setAudit} />
|
||||
<ChatBottom orderId={orderId} audit={audit} setAudit={setAudit} createJsonFile={createJsonFile} />
|
||||
</Grid>
|
||||
</Container>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user