Skip to content

Commit

Permalink
chore: lint & cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Jan 29, 2025
1 parent 5021a17 commit 9685761
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"cooldown",
"coremod",
"coremods",
"customitem",
"crosspost",
"dataurl",
"dependants",
Expand All @@ -29,6 +30,7 @@
"getent",
"gifv",
"gpgsign",
"groupstart",
"HighlightJS",
"installdir",
"jsona",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/modules/components/Loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export type LoaderType = React.FC<LoaderProps | SpinningCircleLoaderProps> & {
Type: typeof Types;
};

export default getFunctionBySource<LoaderType>(components, "wanderingCubes");
export default getFunctionBySource<LoaderType>(components, "wanderingCubes")!;
2 changes: 1 addition & 1 deletion src/renderer/modules/components/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export type OriginalTextType = React.FC<CustomTextProps>;
export type TextType = OriginalTextType &
Record<"Normal" | "H1" | "H2" | "H3" | "H4" | "Eyebrow", OriginalTextType>;

const TextComp = components.Text;
const { Text: TextComp } = components as { Text: TextType };

function TextWithDefaultProps(defaultProps: CustomTextProps) {
return (props: CustomTextProps) => {
Expand Down

0 comments on commit 9685761

Please sign in to comment.