Skip to content

Commit

Permalink
Update ForumTopic import and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkamiloglu committed Dec 25, 2023
1 parent 80e2c74 commit 9803502
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ludos/frontend/src/pages/ForumsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import {
Input,

} from "@mui/material";
import ForumTopic from "../components/ForumTopicForGame";
import ForumTopicForGame from "../components/ForumTopicForGame";
import ForumTopic from "../components/ForumTopic";
import Autocomplete from "@mui/material/Autocomplete";
import axios from "axios";

Expand Down Expand Up @@ -874,7 +875,7 @@ const ForumsPage = () => {
</Button>
{/* Main Content */}
{detailThreads.map((topic, index) => (
<ForumTopic key={index} topic={topic} />
<ForumTopicForGame key={index} topic={topic} />
))}
<Pagination
count={pageCount}
Expand Down

0 comments on commit 9803502

Please sign in to comment.