Salt can be very useful as a medication, but should never be used in a normal freshwater set up.
Brackish set ups should have proper marine salt used to make up the salinity, not aquarium 'tonic' salts or table salt, or even the sea salt that's sold for eating. Marine salt only; anything else will have the wrong mix of chemicals.