Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33310219
D5499.1768807257.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
436 B
Referenced Files
None
Subscribers
None
D5499.1768807257.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 7:20 AM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5955147
Default Alt Text
D5499.1768807257.diff (436 B)
Attached To
Mode
D5499: [native] Introduce `StaffContext`
Attached
Detach File
Event Timeline
Log In to Comment