Page MenuHomePhabricator

D5499.diff
No OneTemporary

D5499.diff

diff --git a/native/staff/staff-context.js b/native/staff/staff-context.js
new file mode 100644
--- /dev/null
+++ b/native/staff/staff-context.js
@@ -0,0 +1,13 @@
+// @flow
+
+import * as React from 'react';
+
+export type StaffContextType = {
+ +staffUserHasBeenLoggedIn: boolean,
+};
+
+const StaffContext: React.Context<StaffContextType> = React.createContext({
+ staffUserHasBeenLoggedIn: false,
+});
+
+export { StaffContext };

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 11:40 AM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2694596
Default Alt Text
D5499.diff (436 B)

Event Timeline