<script>
export default {
  created() {
    const { params, query } = this.$route;
    const { pathMatch } = params;
    this.$router.replace({ path: pathMatch, query });
  },
  render(h) {
    return h(); // avoid warning message
  },
};
</script>
