gramene-search 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.parcel-cache/13f2d5707e7af45c-RequestGraph +0 -0
- package/.parcel-cache/5ae0570a78c0dba3-AssetGraph +0 -0
- package/.parcel-cache/9ac092379278e465-BundleGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-13f2d5707e7af45c.txt +2 -2
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/UserGeneLists.js +10 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
229805076
|
|
2
|
+
1777900676813858000
|
package/dist/index.js
CHANGED
|
@@ -10168,7 +10168,13 @@ const $0f50f369018a42ef$var$GeneListDisplayComponent = (props)=>{
|
|
|
10168
10168
|
dir: 'desc'
|
|
10169
10169
|
});
|
|
10170
10170
|
const auth = props.auth;
|
|
10171
|
-
|
|
10171
|
+
(0, $gXNCa$react.useEffect)(()=>{
|
|
10172
|
+
if (!auth) return;
|
|
10173
|
+
const unsubscribe = (0, $gXNCa$firebaseauth.onAuthStateChanged)(auth, (u)=>setUser(u));
|
|
10174
|
+
return ()=>unsubscribe();
|
|
10175
|
+
}, [
|
|
10176
|
+
auth
|
|
10177
|
+
]);
|
|
10172
10178
|
const toggleSort = (key)=>setSort((s)=>s.key === key ? {
|
|
10173
10179
|
key: key,
|
|
10174
10180
|
dir: s.dir === 'asc' ? 'desc' : 'asc'
|
|
@@ -10553,7 +10559,13 @@ const $0f50f369018a42ef$var$GeneListComponent = (props)=>{
|
|
|
10553
10559
|
const [loading, setLoading] = (0, $gXNCa$react.useState)(false); // New loading state
|
|
10554
10560
|
const [user, setUser] = (0, $gXNCa$react.useState)({});
|
|
10555
10561
|
const auth = props.auth;
|
|
10556
|
-
|
|
10562
|
+
(0, $gXNCa$react.useEffect)(()=>{
|
|
10563
|
+
if (!auth) return;
|
|
10564
|
+
const unsubscribe = (0, $gXNCa$firebaseauth.onAuthStateChanged)(auth, (u)=>setUser(u));
|
|
10565
|
+
return ()=>unsubscribe();
|
|
10566
|
+
}, [
|
|
10567
|
+
auth
|
|
10568
|
+
]);
|
|
10557
10569
|
// Function to handle gene list input
|
|
10558
10570
|
const handleGeneListChange = (event)=>{
|
|
10559
10571
|
setGeneList(event.target.value);
|