From f2760ed91c3ee6efb3e9bbb9075840f536b469e4 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 2 Jan 2019 01:36:59 -0500 Subject: [PATCH] use default patternfly breakpoint token name --- src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 2ef0aa65f8..3d8fca5605 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import { global_breakpoint_md } from '@patternfly/react-tokens'; import { Redirect, Switch, @@ -14,7 +15,6 @@ import { ToolbarGroup, ToolbarItem } from '@patternfly/react-core'; -import { global_breakpoint_md as breakpointMd } from '@patternfly/react-tokens'; import api from './api'; import { API_LOGOUT, API_CONFIG } from './endpoints'; @@ -31,7 +31,7 @@ class App extends Component { // initialize with a closed navbar if window size is small const isNavOpen = typeof window !== 'undefined' - && window.innerWidth >= parseInt(breakpointMd.value, 10); + && window.innerWidth >= parseInt(global_breakpoint_md.value, 10); this.state = { isNavOpen,