Skip to content

Commit

Permalink
[ILM] Fix useState declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliacech committed Jul 31, 2020
1 parent 1f76b82 commit e9575f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export const NodeAllocation: React.FunctionComponent<Props> = ({
}) => {
const { isLoading, data: nodes, error, sendRequest } = useLoadNodes();

const [selectedNodeAttrsForDetails, setSelectedNodeAttrsForDetails] = useState<string>(null);
const [selectedNodeAttrsForDetails, setSelectedNodeAttrsForDetails] = useState<string | null>(
null
);

if (isLoading) {
return (
Expand Down

0 comments on commit e9575f4

Please sign in to comment.