Skip to content

Commit

Permalink
feat: remove winter theme (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJekill352 authored Feb 12, 2020
1 parent 5c21063 commit 7e77a8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion apps/js-machine-front/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const App: React.FC = observer(() => {
<Redirect to="/" />
</Switch>
</ErrorBoundary>
<SnowSwitcher />
</SnackbarProvider>
</Router>
</ThemeProvider>
Expand Down
6 changes: 3 additions & 3 deletions apps/js-machine-front/src/app/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ const NavBar = memo(function NavBar() {
<Toolbar>
<Box className={classes.titleContainer}>
<NavLink exact to="/" className={classes.title}>
{/* JS MACHINE */}
{/* new logo for new year */}
<img className={classes.logo} src={'assets/logo-ny.png'} alt="logo"/>
JS MACHINE
{/* Christmas Logo */}
{/* <img className={classes.logo} src={'assets/logo-ny.png'} alt="logo"/> */}
</NavLink>
</Box>
<Hidden smDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Snowflake } from './models/Snowflake';

export function useSnowflakes() {

const [isSnowing, setSnowing] = useState<boolean>(true);
const [isSnowing, setSnowing] = useState<boolean>(false);
const requestId = React.useRef(0);

useEffect(() => {
Expand Down Expand Up @@ -135,4 +135,4 @@ export function useSnowflakes() {
}, [isSnowing]);

return { isSnowing, handleSnowSwitch };
};
};

0 comments on commit 7e77a8f

Please sign in to comment.