@snapdragonsnursery/react-components 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -24,7 +24,6 @@ import {
24
24
  clearUserContext,
25
25
  } from "./telemetry";
26
26
  import ThemeToggle from "./ThemeToggle";
27
- import { Menu } from "@headlessui/react";
28
27
  import { createPopper } from "@popperjs/core";
29
28
 
30
29
  const isMobile = window.innerWidth < 640;
@@ -308,8 +307,7 @@ function AuthButtons({ theme, setTheme, authState, setAuthState }) {
308
307
  return (
309
308
  <div className="relative inline-block text-left">
310
309
  <div>
311
- <Menu.Button
312
- as="div"
310
+ <button
313
311
  ref={buttonRef}
314
312
  className="focus:outline-none"
315
313
  onClick={() => setMenuOpen((open) => !open)}
@@ -332,7 +330,7 @@ function AuthButtons({ theme, setTheme, authState, setAuthState }) {
332
330
  </span>
333
331
  </div>
334
332
  )}
335
- </Menu.Button>
333
+ </button>
336
334
  </div>
337
335
  {menuOpen && (
338
336
  <div