diff --git a/web/src/components/IdeToolbar/IdeToolbar.js b/web/src/components/IdeToolbar/IdeToolbar.js
index 75e0339..4b1fbc1 100644
--- a/web/src/components/IdeToolbar/IdeToolbar.js
+++ b/web/src/components/IdeToolbar/IdeToolbar.js
@@ -1,22 +1,35 @@
import { useState } from 'react'
import Popover from '@material-ui/core/Popover'
+import OutBound from 'src/components/OutBound'
import { Link, routes, navigate } from '@redwoodjs/router'
import Button from 'src/components/Button'
import ImageUploader from 'src/components/ImageUploader'
+import Svg from '../Svg/Svg'
const IdeToolbar = ({ canEdit, isChanges, onSave, onExport, userNamePart }) => {
const [anchorEl, setAnchorEl] = useState(null)
+ const [whichPopup, setWhichPopup] = useState(null)
- const handleClick = (event) => {
+ const handleClick = ({ event, whichPopup }) => {
setAnchorEl(event.currentTarget)
+ setWhichPopup(whichPopup)
}
const handleClose = () => {
setAnchorEl(null)
+ setWhichPopup(null)
+ }
+
+ const anchorOrigin = {
+ vertical: 'bottom',
+ horizontal: 'center',
+ }
+ const transformOrigin = {
+ vertical: 'top',
+ horizontal: 'center',
}
- const open = Boolean(anchorEl)
const id = open ? 'simple-popover' : undefined
return (
@@ -71,23 +84,17 @@ const IdeToolbar = ({ canEdit, isChanges, onSave, onExport, userNamePart }) => {
className="ml-3 shadow-md hover:shadow-lg border-indigo-600 border-2 border-opacity-0 hover:border-opacity-100 bg-indigo-800 text-indigo-200"
shouldAnimateHover
aria-describedby={id}
- onClick={handleClick}
+ onClick={(event) => handleClick({ event, whichPopup: 'export' })}
>
Export
@@ -104,6 +111,106 @@ const IdeToolbar = ({ canEdit, isChanges, onSave, onExport, userNamePart }) => {
+ Usually going to the homepage, then refreshing, + waiting a good 10 seconds before navigating back to the part + your interested in should fix the issue. +
+
+ If this problem is frustrating to you, leave a comment on its{' '}
+