pl-fe: use more specific zustand selectors
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user