Fix project creation and messages bugs

This commit is contained in:
Hazem Krimi
2021-06-22 00:13:18 +01:00
parent 883470257d
commit b3b6bc1dae
3 changed files with 32 additions and 12 deletions
@@ -34,6 +34,7 @@ const MessagingSidebar = ({ onClose }: MessagingSidebarProps) => {
variables: {
projectId: location.pathname.split('/')[2]!,
},
fetchPolicy: 'network-only',
});
setProjectThreads(threads?.data?.getProjectThreads!);
}