A small piece probably isn’t going to harm her, but try to keep her away from them in the future; as a human snack food, I doubt they’re fit to be part of a bearded dragon’s regular diet. If she starts acting strangely, though, you should definitely take her to the vet.
I send both of you my best wishes! Though I’ve never had a bearded dragon myself, my brother has two, and they’re so sweet! I definitely want to consider adopting one at some point.