Skip to content

Commit

Permalink
style(ui-frontpage): rename DictyNewsTitle component to AuthorizedDic…
Browse files Browse the repository at this point in the history
…tyNewsTitle for clarity and consistency

The component DictyNewsTitle has been renamed to AuthorizedDictyNewsTitle to provide a clearer indication of its purpose and to maintain consistency with other components in the project. This change improves code readability and maintainability.
  • Loading branch information
ktun95 committed Aug 27, 2024
1 parent 31aa127 commit c452389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui-frontpage/src/news/AuthorizedDictyNews.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Container, Grid, makeStyles } from "@material-ui/core"
import { match, P } from "ts-pattern"
import { useListContentByNamespaceQuery } from "dicty-graphql-schema"
import { DictyNewsTitle } from "./DictyNewsTitle"
import { AuthorizedDictyNewsTitle } from "./AuthorizedDictyNewsTitle"
import { AuthorizedEmptyNewsList } from "./AuthorizedEmptyNewsList"
import { AuthorizedNewsList } from "./AuthorizedNewsList"
import { AuthorizedMoreNewsLink } from "./AuthorizedMoreNewsLink"
Expand Down Expand Up @@ -48,7 +48,7 @@ const AuthorizedDictyNews = () => {
wrap="nowrap"
className={main}>
<Grid item>
<DictyNewsTitle />
<AuthorizedDictyNewsTitle />
</Grid>
<Grid item className={newsListItem}>
{match(fetchState)
Expand Down

0 comments on commit c452389

Please sign in to comment.