Skip to content

Commit

Permalink
devonfw-forge#41: fixed reload data on refresh of Result
Browse files Browse the repository at this point in the history
  • Loading branch information
dkars2s committed Dec 21, 2022
1 parent 3972ce7 commit a185275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/pages/session/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Session({ id, data }: any) {

useEffect(() => {
const { tasks } = data;

console.log(tasks);
setCurrentTasks(tasks);
setCurrentUsers(dummyUsers);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;

namespace Devon4Net.Application.WebAPI.Implementation.Domain.Entities
{
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public partial class Result
{
public int AmountOfVotes { get; set; }
Expand Down

0 comments on commit a185275

Please sign in to comment.