mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 03:29:18 +00:00
improvements: address feedback
This commit is contained in:
@@ -1,20 +1,11 @@
|
||||
import type { Preview } from "@storybook/react-vite";
|
||||
|
||||
import { RouterDecorator } from "./decorators";
|
||||
import { DocumentDecorator, RouterDecorator } from "./decorators";
|
||||
|
||||
import "../src/index.css";
|
||||
|
||||
const preview: Preview = {
|
||||
decorators: [
|
||||
(Story) => {
|
||||
const root = document.getElementsByTagName("html")[0];
|
||||
|
||||
root.setAttribute("class", "overflow-visible");
|
||||
|
||||
return <Story />;
|
||||
},
|
||||
RouterDecorator
|
||||
],
|
||||
decorators: [DocumentDecorator, RouterDecorator],
|
||||
parameters: {
|
||||
controls: {
|
||||
matchers: {
|
||||
|
||||
Reference in New Issue
Block a user