Compare commits
No commits in common. "b7420a1df68188295bbd62f535228c87ed10c7b3" and "43acce3b51023419d0f7c7ccf4433be34ac80289" have entirely different histories.
b7420a1df6
...
43acce3b51
@ -89,8 +89,6 @@ const SummaryPage = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let active = true;
|
let active = true;
|
||||||
if (!user || isLoading) return undefined;
|
|
||||||
|
|
||||||
const loadProjects = async () => {
|
const loadProjects = async () => {
|
||||||
setIsProjectsLoading(true);
|
setIsProjectsLoading(true);
|
||||||
try {
|
try {
|
||||||
@ -110,7 +108,7 @@ const SummaryPage = () => {
|
|||||||
return () => {
|
return () => {
|
||||||
active = false;
|
active = false;
|
||||||
};
|
};
|
||||||
}, [user, isLoading, selectedBranch?.id, projectsReloadKey]);
|
}, [selectedBranch?.id, projectsReloadKey]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let active = true;
|
let active = true;
|
||||||
@ -474,7 +472,7 @@ const SummaryPage = () => {
|
|||||||
initialState: {
|
initialState: {
|
||||||
columnPinning: { right: ['actions'], left: ['mrt-row-expand', 'project'] },
|
columnPinning: { right: ['actions'], left: ['mrt-row-expand', 'project'] },
|
||||||
},
|
},
|
||||||
state: { isLoading: isLoading || isProjectsLoading },
|
state: { isLoading: isProjectsLoading },
|
||||||
});
|
});
|
||||||
|
|
||||||
const summaryProjectTable = useMaterialReactTable({
|
const summaryProjectTable = useMaterialReactTable({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user