Skip to content

Commit

Permalink
Merge pull request #1264 from oasisprotocol/lw/revert-typesafe
Browse files Browse the repository at this point in the history
Bring back type safety in LearningMaterials
  • Loading branch information
lukaw3d authored Feb 16, 2024
2 parents 1e01455 + 1bf1ac5 commit 5d4038c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/1264.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bring back type safety in LearningMaterials
2 changes: 1 addition & 1 deletion src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const getContent = (t: TFunction) => {
},
},
},
} satisfies SpecifiedPerEnabledRuntime<LayerContent | undefined>
} satisfies SpecifiedPerEnabledRuntime<LayerContent>
}

export const LearningMaterials: FC<{ scope: SearchScope }> = ({ scope }) => {
Expand Down

0 comments on commit 5d4038c

Please sign in to comment.