diff --git a/package.json b/package.json index 512261d1..beea8443 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@tippy.js/react": "^3.1.1", + "@types/react-router-dom": "^5.1.7", "autosize": "^4.0.2", "axios": "^0.21.1", "body-scroll-lock": "^2.6.4", diff --git a/src/components/boris/BorisComments/index.tsx b/src/components/boris/BorisComments/index.tsx index 7cddfd67..b4350c44 100644 --- a/src/components/boris/BorisComments/index.tsx +++ b/src/components/boris/BorisComments/index.tsx @@ -21,7 +21,7 @@ const BorisComments: FC = ({ isLoadingComments, node, commentCount, comm const user = useShallowSelect(selectAuthUser); return ( - + <> {user.is_user && } @@ -33,7 +33,7 @@ const BorisComments: FC = ({ isLoadingComments, node, commentCount, comm