Unverified Commit fedc662f authored by jmgr2996's avatar jmgr2996 Committed by GitHub

feat: Remove redundant imports in XState example (#13020)

parent c2f8046f
import React from 'react'
const Toggle = ({ onToggle, active }) => { const Toggle = ({ onToggle, active }) => {
return ( return (
<div> <div>
......
import React from 'react'
import { useMachine } from '@xstate/react' import { useMachine } from '@xstate/react'
import { Counter, Toggle } from '../components' import { Counter, Toggle } from '../components'
import { toggleMachine } from '../machines/toggleMachine' import { toggleMachine } from '../machines/toggleMachine'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment