globalScope → projectScope

This commit is contained in:
Sidney Alcantara
2022-07-18 14:40:46 +10:00
parent 264a838a21
commit 802499708a
125 changed files with 428 additions and 428 deletions

View File

@@ -17,10 +17,10 @@ import {
} from "@src/assets/icons";
import {
globalScope,
projectScope,
userRolesAtom,
tableAddRowIdTypeAtom,
} from "@src/atoms/globalScope";
} from "@src/atoms/projectScope";
import {
tableScope,
tableSettingsAtom,
@@ -30,12 +30,12 @@ import {
} from "@src/atoms/tableScope";
export default function AddRow() {
const [userRoles] = useAtom(userRolesAtom, globalScope);
const [userRoles] = useAtom(userRolesAtom, projectScope);
const [tableSettings] = useAtom(tableSettingsAtom, tableScope);
const [tableFilters] = useAtom(tableFiltersAtom, tableScope);
const [tableSorts] = useAtom(tableSortsAtom, tableScope);
const addRow = useSetAtom(addRowAtom, tableScope);
const [idType, setIdType] = useAtom(tableAddRowIdTypeAtom, globalScope);
const [idType, setIdType] = useAtom(tableAddRowIdTypeAtom, projectScope);
const anchorEl = useRef<HTMLDivElement>(null);
const [open, setOpen] = useState(false);