Skip to content

Commit f8bf0c4

Browse files
authored
fix: precise non-confidentiality for reason (#14)
1 parent 5f2f6cf commit f8bf0c4

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/create/src/components/AppBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const RequestAppBar = ({
144144
);
145145
return () => clearTimeout(t);
146146
}
147-
}, [account, loading]);
147+
}, [hasError, account, loading]);
148148

149149
const Links = ({ className }: { className: string }) => (
150150
<>

packages/create/src/components/CreateRequest.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import {
99
MenuItem,
1010
Hidden,
1111
Tooltip,
12-
IconButton,
13-
Link,
1412
Button,
1513
} from "@material-ui/core";
1614
import Moment from "react-moment";
@@ -251,7 +249,7 @@ const Reason = ({ className }: { className?: string }) => {
251249
return (
252250
<TextField
253251
{...field}
254-
label="Reason (optional)"
252+
label="Reason (optional, only non-confidential)"
255253
fullWidth
256254
className={className}
257255
error={Boolean(meta.error)}

0 commit comments

Comments
 (0)