feat(settings): ⚡️ Can disable query params auto hide
This commit is contained in:
@ -53,7 +53,11 @@ export const TypebotPage = ({
|
||||
|
||||
const clearQueryParams = () => {
|
||||
const hasQueryParams = asPath.includes('?')
|
||||
if (hasQueryParams) push(asPath.split('?')[0], undefined, { shallow: true })
|
||||
if (
|
||||
hasQueryParams &&
|
||||
typebot.settings.general.isHideQueryParamsEnabled !== false
|
||||
)
|
||||
push(asPath.split('?')[0], undefined, { shallow: true })
|
||||
}
|
||||
|
||||
const initializeResult = async () => {
|
||||
|
Reference in New Issue
Block a user