Skip to content

Commit

Permalink
Revert "Fix reloading iframe content"
Browse files Browse the repository at this point in the history
This reverts commit 6af774e.
  • Loading branch information
3m5/frohberg committed Mar 14, 2024
1 parent 9a76735 commit 633c038
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-ui-components/src/Frame/frame.tsx
Expand Up @@ -93,9 +93,7 @@ export default class Frame extends PureComponent<FrameProps> {

try {
const win = this.ref.contentWindow; // eslint-disable-line react/no-find-dom-node
// console.log(win.location.pathname + win.location.search, 'href')
// console.log(this.props.src, 'src')
if (win && (win.location.pathname + win.location.search) !== this.props.src) {
if (win && win.location.href !== this.props.src) {
this.setState({
transitioning: true,
location: this.props.src
Expand Down

0 comments on commit 633c038

Please sign in to comment.