pl-fe: use more specific zustand selectors

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-22 21:42:11 +02:00
parent 80654146a2
commit ea86246647
93 changed files with 398 additions and 349 deletions

View File

@ -1,10 +1,10 @@
import React, { useEffect } from 'react';
import { Redirect } from 'react-router-dom';
import { useModalsStore } from 'pl-fe/stores/modals';
import { useModalsActions } from 'pl-fe/stores/modals';
const NewStatusPage = () => {
const { openModal } = useModalsStore();
const { openModal } = useModalsActions();
useEffect(() => {
openModal('COMPOSE');