mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00: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