We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c61ad commit f404f7aCopy full SHA for f404f7a
1 file changed
src/pages/settings/Profile/CustomStatus/StatusPage.tsx
@@ -37,7 +37,7 @@ function StatusPage() {
37
const styles = useThemeStyles();
38
const StyleUtils = useStyleUtils();
39
const {translate} = useLocalize();
40
- const [draftStatus] = useOnyx(ONYXKEYS.CUSTOM_STATUS_DRAFT);
+ const [draftStatus] = useOnyx(ONYXKEYS.CUSTOM_STATUS_DRAFT, {canBeMissing: true});
41
const currentUserPersonalDetails = useCurrentUserPersonalDetails();
42
const formRef = useRef<FormRef>(null);
43
const [brickRoadIndicator, setBrickRoadIndicator] = useState<ValueOf<typeof CONST.BRICK_ROAD_INDICATOR_STATUS>>();
0 commit comments