mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): tidy remaining selectors
These were just using overly verbose syntax - like explicitly typing `state: RootState`, which is unnecessary.
This commit is contained in:
@ -19,9 +19,7 @@ export const SHARED_NODE_PROPERTIES: Partial<Node> = {
|
||||
};
|
||||
|
||||
export const useBuildNode = () => {
|
||||
const nodeTemplates = useAppSelector(
|
||||
(s) => s.nodeTemplates.templates
|
||||
);
|
||||
const nodeTemplates = useAppSelector((s) => s.nodeTemplates.templates);
|
||||
|
||||
const flow = useReactFlow();
|
||||
|
||||
|
Reference in New Issue
Block a user