Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ritz078 committed Nov 14, 2020
1 parent 865f32d commit 89f49cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/components/Container/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function () {
store.get("torrents") as Download[]
);

const [color, setColor] = useState(store.get("color"));
const [color, setColor] = useState<string>(store.get("color") as string);
const { selectedCast } = useContext(SelectedCastContext);

useEffect(() => {
Expand Down

1 comment on commit 89f49cd

@vercel
Copy link

@vercel vercel bot commented on 89f49cd Nov 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.