Closed AbhiPrasad closed 3 years ago
fixes https://github.com/uwblueprint/shoe-project/issues/318
Also cleans up some css here and there (we were missing curly braces for some css selectors)
Here is the patch that matters:
ui/src/pages/Admin/AllStories/index.tsx export const AllStories: React.FC = () => { const { data: tagOptions, error: tagError } = useSWR<string[]>("/api/tags"); + const { signOut } = useAuth();
ui/src/pages/Admin/AllStories/index.tsx
export const AllStories: React.FC = () => { const { data: tagOptions, error: tagError } = useSWR<string[]>("/api/tags"); + const { signOut } = useAuth();
const [state, dispatch] = useReducer(allStoriesReducer, INIT_STATE); const isFilterOpen = Boolean(state.anchorEl); @@ -557,7 +563,7 @@ export const AllStories: React.FC = () => { <AllStoriesAppBar handlePublishMap={publishMap} isPublishDisabled={state.changedVisibility.length == 0}
fixes https://github.com/uwblueprint/shoe-project/issues/318
Also cleans up some css here and there (we were missing curly braces for some css selectors)
Here is the patch that matters:
const [state, dispatch] = useReducer(allStoriesReducer, INIT_STATE); const isFilterOpen = Boolean(state.anchorEl); @@ -557,7 +563,7 @@ export const AllStories: React.FC = () => { <AllStoriesAppBar handlePublishMap={publishMap} isPublishDisabled={state.changedVisibility.length == 0}