Merge pull request #603 from getmaxun/code-cleanup
fix: reference to non-exported `width` property
This commit is contained in:
@@ -21,8 +21,6 @@ export const BrowserTabs = (
|
|||||||
|
|
||||||
let tabWasClosed = false;
|
let tabWasClosed = false;
|
||||||
|
|
||||||
const { width } = useBrowserDimensionsStore();
|
|
||||||
|
|
||||||
const handleChange = (event: React.SyntheticEvent, newValue: number) => {
|
const handleChange = (event: React.SyntheticEvent, newValue: number) => {
|
||||||
if (!tabWasClosed) {
|
if (!tabWasClosed) {
|
||||||
handleChangeIndex(newValue);
|
handleChangeIndex(newValue);
|
||||||
|
|||||||
Reference in New Issue
Block a user