refactor(graphcontext): memoize context

This commit is contained in:
moklick
2019-08-05 14:41:38 +02:00
parent 8691edd3f4
commit b24d7b6704
6 changed files with 24 additions and 26 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from 'react';
import React, { useEffect, useState, memo } from 'react';
import cx from 'classnames';
export default (props) => {
@@ -41,4 +41,4 @@ export default (props) => {
/>
</g>
);
};
};