refactor(profile): update error display to use Empty component

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2026-02-06 20:47:35 +08:00
parent 6411268090
commit 3c4e078bdd
3 changed files with 22 additions and 26 deletions

View File

@@ -65,7 +65,7 @@ export const Primary: Story = {
};
export const Empty: Story = {
decorators: [Story => <div className="h-screen">{Story()}</div>],
decorators: [Story => <div className="h-screen"><Story /></div>],
args: {
events: [],
footer: () => <Button className="w-full"></Button>,